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

Fixing preprocessor generate bug in ifdef & ifndef & else #20

Merged
merged 1 commit into from
May 5, 2024

Conversation

06wj
Copy link
Contributor

@06wj 06wj commented Apr 29, 2024

#ifdef and #ifndef is missing body and #else is missing wsEnd in the generate,

Test case:
image

The result

image

@AndrewRayCode AndrewRayCode self-requested a review May 5, 2024 22:25
@AndrewRayCode AndrewRayCode merged commit a8e4683 into ShaderFrog:main May 5, 2024
1 check passed
@AndrewRayCode
Copy link
Collaborator

Yikes, that's worrying! Thanks for the fix + the test.

@AndrewRayCode
Copy link
Collaborator

Released in 3.1.0

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