From: Masatake YAMATO Date: Sat, 8 Sep 2007 04:31:08 +0000 (+0000) Subject: Support new keywords added to objective-c frontend of gcc. X-Git-Tag: emacs-pretest-23.0.90~11023 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e33433dc0d48f6252c0d1b87e8beaca2933750f;p=emacs.git Support new keywords added to objective-c frontend of gcc. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b6b086d107..1c9c2020c01 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2007-09-08 Masatake YAMATO + + * progmodes/cc-langs.el: Support new keywords added to + objective-c frontend of gcc. + (c-simple-stmt-kwds): Added @throw. + (c-block-stmt-2-kwds): Added @synchronized. + (c-block-stmt-1-kwds): Added @finally and @try. + 2007-09-07 Carsten Dominik * textmodes/org.el: Updated to org-mode 5.08. @@ -942,8 +950,8 @@ 2007-08-23 Masatake YAMATO - * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): - Highlight name of parameters in document body. + * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight + name of parameters in document body. 2007-08-23 Stefan Monnier diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index d0ff9c523ad..a4dfe41ca78 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -1970,6 +1970,7 @@ identifiers that follows the type in a normal declaration." "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) @@ -1983,6 +1984,7 @@ identifiers that follows the type in a normal declaration." "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") @@ -2014,6 +2016,7 @@ identifiers that follows the type in a normal declaration." (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