diff options
author | Martin Stjernholm <mast@lysator.liu.se> | 2003-11-16 16:55:08 +0000 |
---|---|---|
committer | Martin Stjernholm <mast@lysator.liu.se> | 2003-11-16 16:55:08 +0000 |
commit | 037558bfd948e55ab902497ccea5cb1a6b499990 (patch) | |
tree | 244014359dd5d8ac6804abf982abd4bcb4b41d63 /lisp/progmodes/cc-fonts.el | |
parent | 7c402969951c97a2d878c16f7f4c18152258e1f9 (diff) | |
download | emacs-037558bfd948e55ab902497ccea5cb1a6b499990.tar.gz |
CC Mode update (5.30.8).
Diffstat (limited to 'lisp/progmodes/cc-fonts.el')
-rw-r--r-- | lisp/progmodes/cc-fonts.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index c5a587f41e5..27c604b3f33 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -894,7 +894,7 @@ casts and declarations are fontified. Used on level 2 and higher." (save-restriction (let (start-pos - c-disallow-comma-in-<>-arglists + c-restricted-<>-arglists ;; Nonzero if the `c-decl-prefix-re' match is in an arglist context, ;; as opposed to a statement-level context. The major difference is ;; that "," works as declaration delimiter in an arglist context, @@ -1050,11 +1050,11 @@ casts and declarations are fontified. Used on level 2 and higher." ;; If we're in a normal arglist context we don't want to ;; recognize commas in nested angle bracket arglists since ;; those commas could be part of our own arglist. - c-disallow-comma-in-<>-arglists + c-restricted-<>-arglists (and c-recognize-<>-arglists (eq arglist-type 'other))) - (when (and c-disallow-comma-in-<>-arglists + (when (and c-restricted-<>-arglists (/= arglist-match ?,)) ;; We're standing at the start of a normal arglist so remove any ;; angle bracket arglists containing commas that's been |