Usually an EOL (newline) is optional at the end of each text file.
In my project however I am using quite some (lua & asm) includes.
Having one of them ending with a comment line without newline before end-of-file produces a "syntax error" at exactly that line:
It may be important to the issue that the file is included. This is reproducible with my project - unfortunately not with any test-code I tried (even the above example should be parsed fine).
:bulb: Workaround: Add a newline at the end of each file.
Usually an EOL (newline) is optional at the end of each text file.
In my project however I am using quite some (lua & asm) includes. Having one of them ending with a comment line without newline before end-of-file produces a "syntax error" at exactly that line:
It may be important to the issue that the file is included.
This is reproducible with my project - unfortunately not with any test-code I tried (even the above example should be parsed fine).:bulb: Workaround: Add a newline at the end of each file.