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

break and continue statements break live mode #93

Open
schveiguy opened this issue Mar 14, 2022 · 1 comment
Open

break and continue statements break live mode #93

schveiguy opened this issue Mar 14, 2022 · 1 comment

Comments

@schveiguy
Copy link
Contributor

schveiguy commented Mar 14, 2022

Live mode outputs strings surrounding all statements. I have some hackish things to fix issues with if statements and return statements.

But two other statements that cannot have output of strings are the break and continue statements. If an extra HTML output is done, then the compiler flags that output as an unreachable statement, even though no HTML will ever be inserted there.

Probably should extend the hack to include these statements.

@schveiguy
Copy link
Contributor Author

A general facility of preventing HTML output is probably desirable.

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