Fix cornercase for string syntax.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 3 Oct 2012 21:53:09 +0000 (18:53 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 3 Oct 2012 21:53:09 +0000 (18:53 -0300)
commita1a9f411ab644cb191442ea1de4bc1370341cc88
treec225b549638004b6d951f4eec538b6048219af7d
parent05e153a645e17fd83f673ed6b243dae00feff647
Fix cornercase for string syntax.
* progmodes/python.el (python-syntax-propertize-function):
Simplify and enhance the regexp for unescaped quotes.  Now it also
matches quotes in weird situations like the single quote in
"something\"'".
(python-syntax-stringify): Simplify num-quotes detecting code.
lisp/ChangeLog
lisp/progmodes/python.el