Open
Description
This failed:
/*
void main() {
println("Hello /* world"); // <<< open block comment in a string
}
*/
void main() {
println("Hello world");
}
with error:
main.delta:1:1: error: unterminated block comment
/*
^
I noticed, that in file parser/lex.cpp
the function Lexer::readBlockComment
doesn't handle strings.
Metadata
Metadata
Assignees
Labels
No labels