summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2023-02-17 09:14:10 +0000
committerAlan Mackenzie <acm@muc.de>2023-02-17 09:14:10 +0000
commitd4346a7cc784349799552ec31ae66546408ae407 (patch)
treea22edc8621bd33ce9f2eaca7d64a1c6ad1969dc6 /lisp/emacs-lisp/lisp.el
parent23089f1cf2206a3e164c6091963802c156c14d66 (diff)
downloademacs-d4346a7cc784349799552ec31ae66546408ae407.tar.gz
emacs-d4346a7cc784349799552ec31ae66546408ae407.tar.bz2
emacs-d4346a7cc784349799552ec31ae66546408ae407.zip
Add handling of the C11 _Generic construct to C Mode
This fixes bug #61481. * lisp/progmodes/cc-engine.el (c-guess-basic-syntax): Add a new CASE 6 for _Generic. * lisp/progmodes/cc-fonts.el (c-fontify-types-and-refs): Use `let*' rather than `let'. (c-get-fontification-context): Add the new result `generic', and add handling to determine it. (c-font-lock-declarations): Call c-font-lock-c11-generic-clause when needed. (c-font-lock-c11-generic-clause): New function. * lisp/progmodes/cc-langs.el (c-generic-kwds, c-generic-key): New lang constants/variable.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions