diff options
author | Alan Mackenzie <acm@muc.de> | 2023-07-20 19:33:42 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2023-07-20 19:33:42 +0000 |
commit | c601148ded734be2920044f943c44886d144cd97 (patch) | |
tree | 2920d1d87aee6b04d0cedb606dccc9bc1f68ef78 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el | |
parent | 5513f72d3c85ce770a89dc598d2c0b903f0a0b2b (diff) | |
download | emacs-c601148ded734be2920044f943c44886d144cd97.tar.gz emacs-c601148ded734be2920044f943c44886d144cd97.tar.bz2 emacs-c601148ded734be2920044f943c44886d144cd97.zip |
CC Mode (some languages): handle string lines ending in \\
In C, C++, Objective C, and Pike modes, regard \\ in a string
at EOL as a backslash followed by an escaped newline. In the
other languages, this remains regarded as an escaped backslash
followed by an invalid string terminator.
* lisp/progmodes/cc-defs.el (c-is-escaped, c-will-be-escaped):
Amend to observe the changed notion of escaped newlines.
* lisp/progmodes/cc-langs.el (c-string-escaped-newlines):
Unused, removed.
(c-escaped-newline-takes-precedence): New lang const and var.
(c-string-innards-re-alist): Amend, using the above new lang
var.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el')
0 files changed, 0 insertions, 0 deletions