# HG changeset patch # User Martin Stjernholm # Date 1064411769 0 # Node ID 28b12b0193f684214226765e1a2f2fc6c5c5a104 # Parent e1373b8163acb4ac48aab6bd04a0526f512cef18 (c-type-list-kwds): If "operator" is followed by an identifier in C++ then it's a type. diff -r e1373b8163ac -r 28b12b0193f6 lisp/progmodes/cc-langs.el --- 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")