-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty #defines are not ignored when checking syntax. #36
Comments
This was fixed by ca5372f, which will be in the next release. It currently just accepts all preprocessor tokens until the end of the line (which does mean it accepts some invalid inputs, but it's a start). |
Wait, my mistake, I've potentially misunderstood this. Is the bug that in the current release it doesn't correctly parse the |
I assume it's the latter, so I guess it's part of #32 then. If so, then feel free to close this bug. All my shaders have a #ifdef GL_ES
#define LOW lowp
#define MED mediump
#define HIGH highp
precision mediump float;
#else
#define LOW
#define MED
#define HIGH
#endif prefix block, so I'll find out soon enough when this will be fixed :) |
As per subject, here's an example that triggers a syntax error:
yields a "Missing ';' after declaration" at the beginning of
vec4
error.The text was updated successfully, but these errors were encountered: