Browse Source

Lexer: Support newline characters in strings

master
Riyyi 1 year 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 = {
'"',
'\r',
'\n',
'\0',
};

Loading…
Cancel
Save