diff options
Diffstat (limited to 'src/parse/common.hpp')
-rw-r--r-- | src/parse/common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/common.hpp b/src/parse/common.hpp index 0d6d550b..950a204d 100644 --- a/src/parse/common.hpp +++ b/src/parse/common.hpp @@ -5,11 +5,11 @@ #define GET_TOK(tok, lex) ((tok = lex.getToken()).type())
#define GET_CHECK_TOK(tok, lex, exp) do {\
if((tok = lex.getToken()).type() != exp) \
- throw ParseError::Unexpected(tok, Token(exp));\
+ throw ParseError::Unexpected(lex, tok, Token(exp));\
} while(0)
#define CHECK_TOK(tok, exp) do {\
if(tok.type() != exp) \
- throw ParseError::Unexpected(tok, Token(exp));\
+ throw ParseError::Unexpected(lex, tok, Token(exp));\
} while(0)
enum eParsePathGenericMode
|