• Barry Warsaw's avatar
    (py-parse-state-re): Remove the "if" from the regular expression. · 644991fa
    Barry Warsaw yazdı
    This fixes an indentation bug reported by Jeremy when seeing multiple
    list comprehensions like so:
    
        [x for x in seq
         if blah(x)]
    
        # ...
    
        [y for y in seq
         if blah(y)]
    
    The reason this broke is because this regexp caused the "find a safe
    parsing start location higher up in the file" test to erroneously find
    the if in the listcomp.  I think the other keywords in this regexp are
    fine and good enough.
    
    After a weekend of testing, I can't find any adverse effects.
    644991fa
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
AtheOS-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
HPUX-NOTES Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
cheatsheet Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
vgrindefs Loading commit data...