Fontify "extern foo ();" correctly inside a function
authorAlan Mackenzie <acm@muc.de>
Wed, 3 May 2023 10:01:14 +0000 (10:01 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 3 May 2023 10:01:14 +0000 (10:01 +0000)
commit4707f6adf6a2e4f40692fa149023552f5a4f7866
tree031d40cd3ad1b7bb9c33f80fd788bce69ca180aa
parent5315f4f518d792399ea05bef7b3998e445de2d7c
Fontify "extern foo ();" correctly inside a function

This fixes bug#63224.

* lisp/progmodes/cc-engine.el (c-forward-type): Handle the "("
as a special case by trying to parse it with
c-forward-declarator and accepting it as a typeless function
when that fails.
lisp/progmodes/cc-engine.el