aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/cc-langs.el3
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