diff options
| author | Alan Mackenzie <acm@muc.de> | 2018-12-07 17:38:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie <acm@muc.de> | 2018-12-07 17:39:38 +0000 |
| commit | f6a69957d654f0d0d870209da303b4e9360d577e (patch) | |
| tree | 940a89be49699d8cc507714c7daa2bd00847051d /lisp/vcursor.el | |
| parent | 294b2c2bb71f1f7e7024a854d4a4ae43785d9594 (diff) | |
| download | emacs-f6a69957d654f0d0d870209da303b4e9360d577e.tar.gz | |
CC Mode: Compensate for backward-sexp ignoring trailing commas after {...}
This fixes bug #32808.
* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): New variable
comma-delimited, set when we're about to scan backward over a comma. Do not
reckon a brace block as bounding a statement when it is followed or preceded
by a comma (except when argument comma-delim is non-nil).
(c-guess-basic-syntax, CASE 9C): Call c-beginning-of-statement-1 with argument
comma-delim changed to non-nil.
Diffstat (limited to 'lisp/vcursor.el')
0 files changed, 0 insertions, 0 deletions
