summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-langs.el
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@lysator.liu.se>2004-08-11 16:22:21 +0000
committerMartin Stjernholm <mast@lysator.liu.se>2004-08-11 16:22:21 +0000
commit2a15eb73df90655c012a78713ae9b33278c3206e (patch)
tree4222cfd22e0556020b72cfbd6ab5992797e21e4f /lisp/progmodes/cc-langs.el
parent7c3225c3a606c9e81e98b2b1f414542aca21d36f (diff)
downloademacs-2a15eb73df90655c012a78713ae9b33278c3206e.tar.gz
emacs-2a15eb73df90655c012a78713ae9b33278c3206e.tar.bz2
emacs-2a15eb73df90655c012a78713ae9b33278c3206e.zip
Updated CC Mode to 5.30.9.
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
-rw-r--r--lisp/progmodes/cc-langs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 19555b37527..6aeb70ba4e3 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -374,6 +374,12 @@ identifiers, or nil in languages that don't have such things. Does
not contain a \\| operator at the top level."
t nil
c++ "::"
+ ;; Java has "." to concatenate identifiers but it's also used for
+ ;; normal indexing. There's special code in the Java font lock
+ ;; rules to fontify qualified identifiers based on the standard
+ ;; naming conventions. We still define "." here to make
+ ;; `c-forward-name' move over as long names as possible which is
+ ;; necessary to e.g. handle throws clauses correctly.
java "\\."
idl "::"
pike "\\(::\\|\\.\\)")