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

Parse decl-less layout as verbatim. Fixes #22, #29 #364

Merged
merged 2 commits into from
May 1, 2024

Conversation

eldritchconundrum
Copy link
Collaborator

No description provided.

src/parse.fs Outdated

let qualifier = if options.hlsl then hlslQualifier else glslQualifier
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like qualifier is a global value that will be evaluated once at the beginning of the program.
You might have to create a parser like specifiedType or create a function.

@eldritchconundrum eldritchconundrum merged commit f6bfbd2 into master May 1, 2024
@eldritchconundrum eldritchconundrum deleted the parse-layout branch May 1, 2024 19:14
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

Successfully merging this pull request may close these issues.

2 participants