diff options
Diffstat (limited to 'lexer.cpp')
-rw-r--r-- | lexer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -256,6 +256,8 @@ Lexer::Lexer(const BNF& bnf, const std::string& Top): bnf(bnf), Top(Top), Revers std::vector<Token> Lexer::Lex(const std::string& s) { + location = {1, 0}; + std::vector<Token> result; std::string token; |