unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21624: Syntax weirdness lately
@ 2015-10-05 19:47 Daniel Colascione
  2015-10-05 20:50 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Colascione @ 2015-10-05 19:47 UTC (permalink / raw)
  To: 21624

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-08 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 19:47 bug#21624: Syntax weirdness lately Daniel Colascione
2015-10-05 20:50 ` Dmitry Gutov
2015-10-05 20:52   ` Daniel Colascione
2016-12-08 22:03     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).