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
My codebase has multiple auto-generated headers that don't start or end with newlines. When they're included consecutively the first line of the second header ends up joined to the end of the last line of the first header. This resulted in something like the following:
I think this can be solved by having the built-in preprocessor add a newline token when a file's EOF is not preceded by a newline. Would you like to see if you can submit a corresponding pull request.
My codebase has multiple auto-generated headers that don't start or end with newlines. When they're included consecutively the first line of the second header ends up joined to the end of the last line of the first header. This resulted in something like the following:
#define MACRO (some + expression)#define SECONDMACRO
which of course cscout's parser choked on when MACRO was finally invoked in an expression.
CPP always keeps the lines separate in this case, and the project builds successfully.
The text was updated successfully, but these errors were encountered: