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, |
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 |