summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-19 19:32:40 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-20 04:48:05 -0500
commit4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 (patch)
tree488d6531d688c68713baa5c1d70fb37be198b861 /src/parser.h
parent303976e563608d8a1f4eb09ac5c9402ae5ce74fd (diff)
downloadfork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.gz
fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.bz2
fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.zip
Converted the Ledger build system to use CMake
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.h b/src/parser.h
index db16a919..9e6a59f4 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -65,7 +65,7 @@ class expr_t::parser_t : public noncopyable
return lookahead;
}
-#if !defined(NO_ASSERTS)
+#if !NO_ASSERTS
void push_token(const token_t& tok) const {
assert(&tok == &lookahead);
use_lookahead = true;
@@ -74,7 +74,7 @@ class expr_t::parser_t : public noncopyable
void push_token(const token_t&) const {
use_lookahead = true;
}
-#endif // !defined(NO_ASSERTS)
+#endif // !NO_ASSERTS
void push_token() const {
use_lookahead = true;
}