bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21624: Syntax weirdness lately


From: Daniel Colascione
Subject: bug#21624: Syntax weirdness lately
Date: Mon, 5 Oct 2015 12:47:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

In latest master, syntax-propertize application seems to be buggy in a
way I can't readily reproduce or analyze.

Consider this bit of shell:

                elif [[ $c = '\' ]]; then
                    state=word-backslash

Sometimes, unreproducibly of course, we don't close the string at the
trailing
single quotation mark, and the rest of the buffer ends up being a
string, at least up until the single quotation mark. A similar problem
in Python sometimes leads to Python inflooping in buffers containing
strings triple-quoted with single quotation marks: it appears that we
interpret "'''" as just an empty single-quoted string, followed by a
single-quoted opener.

Did we change something about how complex syntax rules work lately?
Revision history doesn't point to anything.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]