diff options
| author | Alan Mackenzie | 2019-03-30 13:19:47 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2019-03-30 13:19:47 +0000 |
| commit | b619777dd67e271d639c6fb1d031650af8fd79e6 (patch) | |
| tree | 59d47a1b9a5ce06d4bcde293979ba670fc5fd9aa /src/buffer.c | |
| parent | dd7d83e1dbe5c308384f92689d6eb27c9cde1c20 (diff) | |
| download | emacs-b619777dd67e271d639c6fb1d031650af8fd79e6.tar.gz emacs-b619777dd67e271d639c6fb1d031650af8fd79e6.zip | |
Allow a CC Mode derived mode to have strings delimited by single quotes.
Also fix the bug where the delimiters of '\033', etc. got the error face.
* lisp/progmodes/cc-langs.el (c-single-quotes-quote-strings): Enhance the docr
string.
(c-string-delims): Change doc string to doc comment.
* listp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): In
searches and comparisons, take account of the string delimiters possibly
being '. Fix argument in call of c-before-change-check-unbalanced-strings.
(c-parse-quotes-before-change, c-parse-quotes-after-change): Bind
case-fold-search to nil. Analyze escape constructs inside character constants
more accurately, in particular accepting as valid more than one character
after /[0-7], /x, /u, and /U. Amend calculations to account for this extra
length.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions