diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-02-15 18:04:26 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-02-15 18:04:26 +0100 |
commit | 3f534c582464d0bcf815157aeaadf682b74ded34 (patch) | |
tree | 0b3b9672df6f96a8224e454749c140ca9789456f /test-lexer.cpp | |
parent | 477d82f44f5303b55b456f58f53e878289710743 (diff) |
Fix compile error case
Diffstat (limited to 'test-lexer.cpp')
-rw-r--r-- | test-lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-lexer.cpp b/test-lexer.cpp index 2eeaef8..05633d0 100644 --- a/test-lexer.cpp +++ b/test-lexer.cpp @@ -61,7 +61,7 @@ TEST_F(Test, BNF) { // implicit? //std::set<std::string> Terminals{"identifier", "=", ";"}; - std::string Code{"a = bc ; c = 123 ; esd = Ff ; 1 = XYZ ; "}; + std::string Code{"a = bc ; c = 123 ; esd = Ff ; 1 = XYZ "}; std::vector<Token> tokens_reference{ {"identifier", "a", { 1, 1} }, {"preprocessing-op-or-punc", "=", { 1, 3}}, @@ -78,7 +78,7 @@ TEST_F(Test, BNF) { {"pp-number", "1", { 1, 31}}, {"preprocessing-op-or-punc", "=", { 1, 33}}, {"identifier", "XYZ", { 1, 35}}, - {"preprocessing-op-or-punc", ";", { 1, 39}}, + //{"preprocessing-op-or-punc", ";", { 1, 39}}, }; Lex::Lexer lexer(LexBNF, LexTop); |