File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -385,8 +385,8 @@ that should be commented under LaTeX-style literate scripts."
385
385
; ; This still gets fooled with "'"'"'"'"'"', but ... oh well.
386
386
(" \\ Sw\\ ('\\ )\\ ([^\\ '\n ]\\ |\\\\ .[^\\ '\n \" }]*\\ )\\ ('\\ )" (1 " |" ) (3 " |" ))
387
387
; ; Deal with instances of `--' which don't form a comment
388
- (" [!#$%&*+./:<=>?@^|~\\ -]\\ {3,\\ }" (0 (cond ((numberp (nth 4 (syntax-ppss )))
389
- ; ; There are no such instances inside nestable comments
388
+ (" [!#$%&*+./:<=>?@^|~\\ -]\\ {3,\\ }" (0 (cond ((or ( nth 3 ( syntax-ppss )) ( numberp (nth 4 (syntax-ppss ) )))
389
+ ; ; There are no such instances inside nestable comments or strings
390
390
nil )
391
391
((string-match " \\ `-*\\' " (match-string 0 ))
392
392
; ; Sequence of hyphens. Do nothing in
You can’t perform that action at this time.
0 commit comments