suever / MATL-Online

Online Interpreter for MATL

Home Page:https://matl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improper handling of strings that begin with `-----`

suever opened this issue · comments

Any string that begins with --- is not returned to the frontend.

DEMO

Need to reopen this because it is necessary when there is actually an error because the last --- of the error message is shown in the output window now. The output originates here

I need to come up with some way to identify if the --- is from a user-supplied string or the error.

Since an error terminates the program running, it may be enough to set a flag when an error is thrown and all output after that point is automatically classified as an error.