]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"
authorAlan Mackenzie <acm@muc.de>
Mon, 10 Dec 2018 12:12:02 +0000 (12:12 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 10 Dec 2018 12:12:02 +0000 (12:12 +0000)
commit5a7451c383be5e6be52c986a9392ff551e656f6a
tree15633d38eea09192c5a749be609f09c50ed6f995
parentb0ed9d143333827ee8481da0fe7821887a3c6c94
CC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): When testing for an
identifier after "a *", on failure additionally check for a digit, setting a
new flag variable got-number if one is found.  In the test for CASE 18, check
this flag.
lisp/progmodes/cc-engine.el