changeset 52607:28b12b0193f6

(c-type-list-kwds): If "operator" is followed by an identifier in C++ then it's a type.
author Martin Stjernholm <mast@lysator.liu.se>
date Wed, 24 Sep 2003 13:56:09 +0000
parents e1373b8163ac
children fae5ff03687a
files lisp/progmodes/cc-langs.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-langs.el	Wed Sep 24 13:55:49 2003 +0000
+++ b/lisp/progmodes/cc-langs.el	Wed Sep 24 13:56:09 2003 +0000
@@ -1362,7 +1362,8 @@
 Note: Use `c-typeless-decl-kwds' for keywords followed by a function
 or variable identifier (that's being defined)."
   t    '("struct" "union" "enum")
-  (c c++ awk) nil
+  (c awk) nil
+  c++  '("operator")
   objc (append '("@class" "@interface" "@implementation" "@protocol")
 	       (c-lang-const c-type-list-kwds))
   java '("class" "import" "interface" "new" "extends" "implements" "throws")