summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-08 00:44:27 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-08 00:44:40 -0600
commit4d011434003262c9a49b0b4636b2ac479a84e058 (patch)
tree183b5a30e1e87b1aa3c39a3eaa63978b23752837 /src/parser.cc
parentae4ef7a88ddd39ed544383e65d3c55ba97f4f8c1 (diff)
downloadfork-ledger-4d011434003262c9a49b0b4636b2ac479a84e058.tar.gz
fork-ledger-4d011434003262c9a49b0b4636b2ac479a84e058.tar.bz2
fork-ledger-4d011434003262c9a49b0b4636b2ac479a84e058.zip
Many improvements to lambdas and function calling
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.cc b/src/parser.cc
index ce70a49e..360ac93d 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -87,9 +87,6 @@ expr_t::parser_t::parse_call_expr(std::istream& in,
node->set_left(prev);
push_token(tok); // let the parser see the '(' again
node->set_right(parse_value_expr(in, tflags.plus_flags(PARSE_SINGLE)));
- if (! node->right())
- throw_(parse_error,
- _("%1 operator not followed by argument") << tok.symbol);
} else {
push_token(tok);
break;