summaryrefslogtreecommitdiff
path: root/src/parse/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/common.hpp')
-rw-r--r--src/parse/common.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/common.hpp b/src/parse/common.hpp
index ff72920c..3bc599a9 100644
--- a/src/parse/common.hpp
+++ b/src/parse/common.hpp
@@ -3,6 +3,7 @@
#include <iostream>
#define GET_TOK(tok, lex) ((tok = lex.getToken()).type())
+#define LOOK_AHEAD(lex) (lex.lookahead(0))
#define GET_CHECK_TOK(tok, lex, exp) do {\
if((tok = lex.getToken()).type() != exp) { \
DEBUG("GET_CHECK_TOK " << __FILE__ << ":" << __LINE__); \