diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-22 17:03:26 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-22 17:03:26 -0400 |
commit | ba183549470509d44c9c422ede4910ceaa4ab637 (patch) | |
tree | e439700d168d4f3f66978d2a96114c63a1343fda /src/parser.h | |
parent | fac5a95a486a1c0fdba3b8563503c977683888cf (diff) | |
download | fork-ledger-ba183549470509d44c9c422ede4910ceaa4ab637.tar.gz fork-ledger-ba183549470509d44c9c422ede4910ceaa4ab637.tar.bz2 fork-ledger-ba183549470509d44c9c422ede4910ceaa4ab637.zip |
Whitespace changes.
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/parser.h b/src/parser.h index fe39b7f8..7e4bb658 100644 --- a/src/parser.h +++ b/src/parser.h @@ -54,8 +54,7 @@ private: mutable token_t lookahead; mutable bool use_lookahead; - token_t& next_token(std::istream& in, flags_t tflags) const - { + token_t& next_token(std::istream& in, flags_t tflags) const { if (use_lookahead) use_lookahead = false; else @@ -63,14 +62,11 @@ private: return lookahead; } - void push_token(const token_t& tok) const - { + void push_token(const token_t& tok) const { assert(&tok == &lookahead); use_lookahead = true; } - - void push_token() const - { + void push_token() const { use_lookahead = true; } |