Skip to content
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

"end" in a token seen as END #955

Open
normrubin opened this issue Jun 15, 2021 · 0 comments
Open

"end" in a token seen as END #955

normrubin opened this issue Jun 15, 2021 · 0 comments
Assignees

Comments

@normrubin
Copy link

Given this fragment shader

SHADER fragment frag GLSL
#version 450
#extension GL_ARB_separate_shader_objects : enable
#def RENDERX XXX
void main() {;}
END

amber sees the RENDERX as R END ERX ( the call to extractToNext does not make sure this is a full token)
it does wait for an uppercase END so this mostly messes up with macros

example_4_bad: 16: SHADER missing END command

Is is kind of an odd error message as well since its actually an extra END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants