summaryrefslogtreecommitdiffhomepage
path: root/test-lexer.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-02-16 18:41:49 +0100
committerRoland Reichwein <mail@reichwein.it>2020-02-16 18:41:49 +0100
commitd10f91dce5ecc2643496b7ef78149c0cdf37aaae (patch)
tree9d1e96964ea9539a7637382c9a2235ff4714f644 /test-lexer.cpp
parent142194b90d444d988890f9578a24b5d6094ddab0 (diff)
Try to match lex grammar (WIP)
Diffstat (limited to 'test-lexer.cpp')
-rw-r--r--test-lexer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-lexer.cpp b/test-lexer.cpp
index 651dfae..b0706df 100644
--- a/test-lexer.cpp
+++ b/test-lexer.cpp
@@ -3,6 +3,7 @@
#include "lexer.h"
#include "grammer.h"
#include "minicc.h"
+#include "debug.h"
#include <boost/algorithm/string.hpp>
@@ -20,7 +21,9 @@
class Test: public ::testing::Test {
protected:
- Test(){}
+ Test(){
+ debug = false;
+ }
~Test() override {}
};