You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is invalid syntax above a for loop, the end for ends up with a parser error. Is there a way to improve the way the parser recovers so that the error is contained to the 1=1 line?
function Main1()
1=1for eachnumin [1,2,3]
printnumendforend function
The text was updated successfully, but these errors were encountered:
Sometimes a parse error causes the `block` function to consume all of
the remaining tokens. This PR fixes that issue by discarding the line,
which should drastically improve parse error recovery.
fixes#157
If there is invalid syntax above a for loop, the
end for
ends up with a parser error. Is there a way to improve the way the parser recovers so that the error is contained to the1=1
line?The text was updated successfully, but these errors were encountered: