From fa14078b4f2883940219c59017e0aa8187bf0d53 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Wed, 24 Sep 2003 13:56:09 +0000 Subject: [PATCH] (c-type-list-kwds): If "operator" is followed by an identifier in C++ then it's a type. --- lisp/progmodes/cc-langs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- 2.39.2