Closed KitRifty closed 1 year ago
An #endif at EOF is marked as an error (even if the syntax is correct). However, the error goes away if a comment or line break is added after it.
#endif
#define THIS_THING #if defined THIS_THING void MyFunc() { PrintToServer("My function"); } #endif
No error.
The original tree-sitter-sourcepawn seems to be inactive, I will use my fork for now.
Basic informations
Further Information
An
#endif
at EOF is marked as an error (even if the syntax is correct). However, the error goes away if a comment or line break is added after it.Code to reproduce the behaviour
Expected behaviour
No error.
Error messages