You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
function pointer constant is not highlighted as a function #2548
The func token is being highlighted as a variable instead of function. Changing the definition of FnProto to fn () void causes it to be highlighted like a function as expected.
changed the title [-]aFunction in const aFunction = createFunction() is not colored as a function[/-][+]function pointer constant is not highlighted as a function[/+]on Feb 8, 2026
Activity
techatrix commentedon Feb 8, 2026
Reduction:
The
functoken is being highlighted as a variable instead of function. Changing the definition ofFnPrototofn () voidcauses it to be highlighted like a function as expected.[-]aFunction in const aFunction = createFunction() is not colored as a function[/-][+]function pointer constant is not highlighted as a function[/+]