Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
027d6bb1
Commit
027d6bb1
authored
Jan 14, 2008
by
Alan Mackenzie
Browse files
(c-guess-basic-syntax): prevent a macro call inside a struct being
recognised as a K&R argument.
parent
f4b08f54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-engine.el
+1
-0
No files found.
lisp/progmodes/cc-engine.el
View file @
027d6bb1
...
...
@@ -8296,6 +8296,7 @@ comment at the start of cc-engine.el for more info."
;; CASE 5H: we could be looking at subsequent knr-argdecls
((and c-recognize-knr-p
(not containing-sexp) ; can't be knr inside braces.
(not (eq char-before-ip ?}))
(save-excursion
(setq placeholder (cdr (c-beginning-of-decl-1 lim)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment