diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-07 12:07:43 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-07 12:07:43 +0800 |
commit | fcec09900f158aa939eb1c96607aaabf4c8171ef (patch) | |
tree | eaac668a8d19b56fee0cdafb218ec069cdab8bc5 /src/parse/parseerror.hpp | |
parent | a9692e359884672b30e1742bada368330115cc14 (diff) | |
download | mrust-fcec09900f158aa939eb1c96607aaabf4c8171ef.tar.gz |
Added file+line reporting to error messages
Diffstat (limited to 'src/parse/parseerror.hpp')
-rw-r--r-- | src/parse/parseerror.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/parseerror.hpp b/src/parse/parseerror.hpp index 11324476..33c02a92 100644 --- a/src/parse/parseerror.hpp +++ b/src/parse/parseerror.hpp @@ -56,8 +56,8 @@ class Unexpected: {
Token m_tok;
public:
- Unexpected(Token tok);
- Unexpected(Token tok, Token exp);
+ Unexpected(const TokenStream& lex, Token tok);
+ Unexpected(const TokenStream& lex, Token tok, Token exp);
virtual ~Unexpected() throw ();
};
|