diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-02-15 22:12:14 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-02-15 22:12:14 +0100 |
commit | 2ae1fd90afe236f8815921362c5d45a201dd4476 (patch) | |
tree | 743ab8926dbf46612c22fb816ea4405e8d4097de /lexer.cpp | |
parent | 3f534c582464d0bcf815157aeaadf682b74ded34 (diff) |
Tests
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; |