We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code:
let i = "test ";
results in this output on my system:
/home/frank/tmp/test.js:1:9: error: unclosed string literal /home/frank/tmp/test.js:2:1: error: unclosed string literal ../src/parse.cpp:563: fatal: token not implemented in parse_expression_remainder: string on line 2 column 1 Illegal instruction
Looks like the program crashed with an "illegal instruction".
The text was updated successfully, but these errors were encountered:
I think fixing the crash is a matter of telling parse_expression_remainder to stop parsing when it sees a string literal (instead of an operator).
parse_expression_remainder
Producing good error messages is another matter; we can punt on that for now.
Sorry, something went wrong.
As of commit b9e4851, the code is parsing without a crash:
hello.js:1:9: error: unclosed string literal [E040]
No branches or pull requests
This code:
results in this output on my system:
Looks like the program crashed with an "illegal instruction".
The text was updated successfully, but these errors were encountered: