From: Martin Stjernholm Date: Wed, 24 Sep 2003 13:56:09 +0000 (+0000) Subject: (c-type-list-kwds): If "operator" is followed by an identifier in C++ X-Git-Tag: ttn-vms-21-2-B4~8748 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa14078b4f2883940219c59017e0aa8187bf0d53;p=emacs.git (c-type-list-kwds): If "operator" is followed by an identifier in C++ then it's a type. --- diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 0eb009dd622..19555b37527 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -1362,7 +1362,8 @@ too. 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")