diff options
Diffstat (limited to 'src/parse/common.hpp')
-rw-r--r-- | src/parse/common.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/common.hpp b/src/parse/common.hpp index b1927512..9ba8b8cd 100644 --- a/src/parse/common.hpp +++ b/src/parse/common.hpp @@ -11,6 +11,7 @@ #include "../ast/ast.hpp"
#define GET_TOK(tok, lex) ((tok = lex.getToken()).type())
+#define PUTBACK(tok, lex) lex.putback( ::std::move(tok) )
#define LOOK_AHEAD(lex) (lex.lookahead(0))
#define GET_CHECK_TOK(tok, lex, exp) do {\
if((tok = lex.getToken()).type() != exp) { \
|