diet-ng
diet-ng copied to clipboard
break and continue statements break live mode
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.
A general facility of preventing HTML output is probably desirable.