]> git.eshelyaron.com Git - emacs.git/commitdiff
Add C-language keyword constants to C++
authorDaniel Colascione <dancol@dancol.org>
Mon, 25 May 2015 20:51:35 +0000 (13:51 -0700)
committerDaniel Colascione <dancol@dancol.org>
Mon, 25 May 2015 20:51:35 +0000 (13:51 -0700)
* lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
keyword constants to C++.

lisp/progmodes/cc-langs.el

index ee5a5a6503f1ea242c870288009ff8aed0e9a44c..07f5ef44d1143198212da397134d20e684881cf1 100644 (file)
@@ -2400,7 +2400,7 @@ This construct is \"<keyword> <expression> :\"."
            "false" "true")             ; Defined in C99.
   c++     (append
            '("nullptr")
-           (c-lang-const c-constant-kwds))
+           (c-lang-const c-constant-kwds c))
   objc    '("nil" "Nil" "YES" "NO" "NS_DURING" "NS_HANDLER" "NS_ENDHANDLER")
   idl     '("TRUE" "FALSE")
   java    '("true" "false" "null") ; technically "literals", not keywords