summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h
index 5d9f1fac..db592475 100644
--- a/src/token.h
+++ b/src/token.h
@@ -126,7 +126,7 @@ struct expr_t::token_t : public noncopyable
void next(std::istream& in, const parse_flags_t& flags);
void rewind(std::istream& in);
void unexpected(const char wanted = '\0');
- void expected(const char wanted, const char c = '\0');
+ void expected(const char wanted, const int c);
void expected(const kind_t wanted);
};