diff options
| author | Alan Mackenzie | 2008-01-29 20:47:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2008-01-29 20:47:03 +0000 |
| commit | 9555a4cfeb2e5ebf3c0283d7b79586ef22e62c9d (patch) | |
| tree | c4cd122428cfd14cb4507a9228ce598fa8065358 | |
| parent | 6c7480fc75820b56a92e729eea60813ab1a5e25d (diff) | |
| download | emacs-9555a4cfeb2e5ebf3c0283d7b79586ef22e62c9d.tar.gz emacs-9555a4cfeb2e5ebf3c0283d7b79586ef22e62c9d.zip | |
(c-block-stmt-1-kwds, c-block-stmt-2-kwds, c-simple-stmt-kwds): New
Objective C keywords: @finally, @try, @catch, @synchronized, @throw.
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 4c82fb522c0..54725c0fd88 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -1972,6 +1972,7 @@ identifiers that follows the type in a normal declaration." | |||
| 1972 | "Statement keywords followed directly by a substatement." | 1972 | "Statement keywords followed directly by a substatement." |
| 1973 | t '("do" "else") | 1973 | t '("do" "else") |
| 1974 | c++ '("do" "else" "try") | 1974 | c++ '("do" "else" "try") |
| 1975 | objc '("do" "else" "@finally" "@try") | ||
| 1975 | java '("do" "else" "finally" "try") | 1976 | java '("do" "else" "finally" "try") |
| 1976 | idl nil) | 1977 | idl nil) |
| 1977 | 1978 | ||
| @@ -1985,6 +1986,7 @@ identifiers that follows the type in a normal declaration." | |||
| 1985 | "Statement keywords followed by a paren sexp and then by a substatement." | 1986 | "Statement keywords followed by a paren sexp and then by a substatement." |
| 1986 | t '("for" "if" "switch" "while") | 1987 | t '("for" "if" "switch" "while") |
| 1987 | c++ '("for" "if" "switch" "while" "catch") | 1988 | c++ '("for" "if" "switch" "while" "catch") |
| 1989 | objc '("for" "if" "switch" "while" "@catch" "@synchronized") | ||
| 1988 | java '("for" "if" "switch" "while" "catch" "synchronized") | 1990 | java '("for" "if" "switch" "while" "catch" "synchronized") |
| 1989 | idl nil | 1991 | idl nil |
| 1990 | pike '("for" "if" "switch" "while" "foreach") | 1992 | pike '("for" "if" "switch" "while" "foreach") |
| @@ -2016,6 +2018,7 @@ identifiers that follows the type in a normal declaration." | |||
| 2016 | (c-lang-defconst c-simple-stmt-kwds | 2018 | (c-lang-defconst c-simple-stmt-kwds |
| 2017 | "Statement keywords followed by an expression or nothing." | 2019 | "Statement keywords followed by an expression or nothing." |
| 2018 | t '("break" "continue" "goto" "return") | 2020 | t '("break" "continue" "goto" "return") |
| 2021 | objc '("break" "continue" "goto" "return" "@throw") | ||
| 2019 | ;; Note: `goto' is not valid in Java, but the keyword is still reserved. | 2022 | ;; Note: `goto' is not valid in Java, but the keyword is still reserved. |
| 2020 | java '("break" "continue" "goto" "return" "throw") | 2023 | java '("break" "continue" "goto" "return" "throw") |
| 2021 | idl nil | 2024 | idl nil |