summaryrefslogtreecommitdiff
path: root/src/parse/parseerror.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-03-07 12:07:43 +0800
committerJohn Hodge <tpg@mutabah.net>2015-03-07 12:07:43 +0800
commitfcec09900f158aa939eb1c96607aaabf4c8171ef (patch)
treeeaac668a8d19b56fee0cdafb218ec069cdab8bc5 /src/parse/parseerror.hpp
parenta9692e359884672b30e1742bada368330115cc14 (diff)
downloadmrust-fcec09900f158aa939eb1c96607aaabf4c8171ef.tar.gz
Added file+line reporting to error messages
Diffstat (limited to 'src/parse/parseerror.hpp')
-rw-r--r--src/parse/parseerror.hpp4
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 ();
};