summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-01-27 21:28:52 -0800
committerGitHub <noreply@github.com>2022-01-27 21:28:52 -0800
commitbcbcf169d5fddd48a77e30ef60ba07c0a2e1e1ab (patch)
tree47a132b29a9ea3b362789c48d122ec5f68f2563b /src/token.h
parente001548e7f68f304dd6a98f0919fe15ee3e24496 (diff)
parent436895905d19f8ef0d3258cd515052a0e540b8b4 (diff)
downloadledger-bcbcf169d5fddd48a77e30ef60ba07c0a2e1e1ab.tar.gz
ledger-bcbcf169d5fddd48a77e30ef60ba07c0a2e1e1ab.tar.bz2
ledger-bcbcf169d5fddd48a77e30ef60ba07c0a2e1e1ab.zip
Merge branch 'master' into add-flake
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);
};