[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-langs.el, v [EMACS_22_B
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-langs.el, v [EMACS_22_BASE] |
Date: |
Tue, 29 Jan 2008 20:47:04 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Alan Mackenzie <acmacm> 08/01/29 20:47:04
Index: cc-langs.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-langs.el,v
retrieving revision 1.47.2.6
retrieving revision 1.47.2.7
diff -u -b -r1.47.2.6 -r1.47.2.7
--- cc-langs.el 29 Jan 2008 20:30:54 -0000 1.47.2.6
+++ cc-langs.el 29 Jan 2008 20:47:03 -0000 1.47.2.7
@@ -1972,6 +1972,7 @@
"Statement keywords followed directly by a substatement."
t '("do" "else")
c++ '("do" "else" "try")
+ objc '("do" "else" "@finally" "@try")
java '("do" "else" "finally" "try")
idl nil)
@@ -1985,6 +1986,7 @@
"Statement keywords followed by a paren sexp and then by a substatement."
t '("for" "if" "switch" "while")
c++ '("for" "if" "switch" "while" "catch")
+ objc '("for" "if" "switch" "while" "@catch" "@synchronized")
java '("for" "if" "switch" "while" "catch" "synchronized")
idl nil
pike '("for" "if" "switch" "while" "foreach")
@@ -2016,6 +2018,7 @@
(c-lang-defconst c-simple-stmt-kwds
"Statement keywords followed by an expression or nothing."
t '("break" "continue" "goto" "return")
+ objc '("break" "continue" "goto" "return" "@throw")
;; Note: `goto' is not valid in Java, but the keyword is still reserved.
java '("break" "continue" "goto" "return" "throw")
idl nil