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

Be more strict about //#else #13

Open
Johni0702 opened this issue Jul 31, 2023 · 0 comments
Open

Be more strict about //#else #13

Johni0702 opened this issue Jul 31, 2023 · 0 comments

Comments

@Johni0702
Copy link
Member

In particular, the following should not pass:

                    //#if MC>=12000
                    //$$ print(used1)
                    //#else#if MC>=11600
                    //$$ print(used2)
                    //#else
                    //$$ print(used3)
                    //#endif

Because

  1. That's supposed to be an elseif but it was typo'd (current processor reads it as an else without complaints)
  2. That's two else which probably shouldn't be legal
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

1 participant