Open paxcut opened 2 weeks ago
When a newline is encountered by the lexer it has to increase the line number and reset m_lineBegin. String literals that had a newline before closing double quote were not doing that so all subsequent tokens had the wrong line location.
m_lineBegin
When a newline is encountered by the lexer it has to increase the line number and reset
m_lineBegin
. String literals that had a newline before closing double quote were not doing that so all subsequent tokens had the wrong line location.