diff options
| author | Martin Stjernholm | 2003-09-24 13:56:09 +0000 |
|---|---|---|
| committer | Martin Stjernholm | 2003-09-24 13:56:09 +0000 |
| commit | fa14078b4f2883940219c59017e0aa8187bf0d53 (patch) | |
| tree | aa0dd3946a93527b84fe33ef8d30c46db22570dc | |
| parent | a6782a6efda9a70f4c50d9f62d07435c694377a9 (diff) | |
| download | emacs-fa14078b4f2883940219c59017e0aa8187bf0d53.tar.gz emacs-fa14078b4f2883940219c59017e0aa8187bf0d53.zip | |
(c-type-list-kwds): If "operator" is followed by an identifier in C++
then it's a type.
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. | |||
| 1362 | Note: Use `c-typeless-decl-kwds' for keywords followed by a function | 1362 | Note: Use `c-typeless-decl-kwds' for keywords followed by a function |
| 1363 | or variable identifier (that's being defined)." | 1363 | or variable identifier (that's being defined)." |
| 1364 | t '("struct" "union" "enum") | 1364 | t '("struct" "union" "enum") |
| 1365 | (c c++ awk) nil | 1365 | (c awk) nil |
| 1366 | c++ '("operator") | ||
| 1366 | objc (append '("@class" "@interface" "@implementation" "@protocol") | 1367 | objc (append '("@class" "@interface" "@implementation" "@protocol") |
| 1367 | (c-lang-const c-type-list-kwds)) | 1368 | (c-lang-const c-type-list-kwds)) |
| 1368 | java '("class" "import" "interface" "new" "extends" "implements" "throws") | 1369 | java '("class" "import" "interface" "new" "extends" "implements" "throws") |