/[emacs]/emacs/lisp/progmodes/cc-fonts.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/cc-fonts.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mast, Wed Sep 24 13:55:49 2003 UTC revision 1.5 by mast, Sun Nov 16 16:55:08 2003 UTC
# Line 894  casts and declarations are fontified.  U Line 894  casts and declarations are fontified.  U
894    
895    (save-restriction    (save-restriction
896      (let (start-pos      (let (start-pos
897            c-disallow-comma-in-<>-arglists            c-restricted-<>-arglists
898            ;; Nonzero if the `c-decl-prefix-re' match is in an arglist context,            ;; Nonzero if the `c-decl-prefix-re' match is in an arglist context,
899            ;; as opposed to a statement-level context.  The major difference is            ;; as opposed to a statement-level context.  The major difference is
900            ;; that "," works as declaration delimiter in an arglist context,            ;; that "," works as declaration delimiter in an arglist context,
# Line 1050  casts and declarations are fontified.  U Line 1050  casts and declarations are fontified.  U
1050                   ;; If we're in a normal arglist context we don't want to                   ;; If we're in a normal arglist context we don't want to
1051                   ;; recognize commas in nested angle bracket arglists since                   ;; recognize commas in nested angle bracket arglists since
1052                   ;; those commas could be part of our own arglist.                   ;; those commas could be part of our own arglist.
1053                   c-disallow-comma-in-<>-arglists                   c-restricted-<>-arglists
1054                   (and c-recognize-<>-arglists                   (and c-recognize-<>-arglists
1055                        (eq arglist-type 'other)))                        (eq arglist-type 'other)))
1056    
1057             (when (and c-disallow-comma-in-<>-arglists             (when (and c-restricted-<>-arglists
1058                        (/= arglist-match ?,))                        (/= arglist-match ?,))
1059               ;; We're standing at the start of a normal arglist so remove any               ;; We're standing at the start of a normal arglist so remove any
1060               ;; angle bracket arglists containing commas that's been               ;; angle bracket arglists containing commas that's been

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26