summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-22 17:03:26 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-22 17:03:26 -0400
commitba183549470509d44c9c422ede4910ceaa4ab637 (patch)
treee439700d168d4f3f66978d2a96114c63a1343fda /src/parser.h
parentfac5a95a486a1c0fdba3b8563503c977683888cf (diff)
downloadfork-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.h10
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;
}