Browse Source

Lexer: Support newline characters in strings

master
Riyyi 2 years ago
parent
commit
088c5f0248
  1. 2
      src/lexer.cpp

2
src/lexer.cpp

@ -128,8 +128,6 @@ bool Lexer::consumeString()
static std::unordered_set<char> exit = { static std::unordered_set<char> exit = {
'"', '"',
'\r',
'\n',
'\0', '\0',
}; };

Loading…
Cancel
Save