I cannot test ATM, but a quick scan of the patch suggests some tests:

char f(char c){ return c; }
char c = f(')');

For C++ here not just const but override and final and noexcept and && and attributes and -> return_type can occur , see here and here.

Does it highlight constructors as functions even if their names are in the wordlist of types Geany supplies to the lexer?

It attempts to skip macro declarations, but are macro "calls" treated as function calls?

The rest got too hard to follow, maybe later.

Since (AFAICT) it can all be turned off with properties, the discussion of what the defaults for C++ should be might be a 🚲 🏠 depending on how well it does C++, noting that prototypes are already off by default for C++.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/1231/1396525643@github.com>