Mercurial > emacs
diff lisp/progmodes/cc-fonts.el @ 53073:49f65e04ba8e
CC Mode update (5.30.8).
author | Martin Stjernholm <mast@lysator.liu.se> |
---|---|
date | Sun, 16 Nov 2003 16:55:08 +0000 |
parents | e1373b8163ac |
children | b7446b6f097d |
line wrap: on
line diff
--- a/lisp/progmodes/cc-fonts.el Sun Nov 16 16:17:09 2003 +0000 +++ b/lisp/progmodes/cc-fonts.el Sun Nov 16 16:55:08 2003 +0000 @@ -894,7 +894,7 @@ (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 @@ ;; 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