diff options
Diffstat (limited to 'src/parser.cc')
-rw-r--r-- | src/parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cc b/src/parser.cc index d54d78cd..f47a76db 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -117,7 +117,7 @@ expr_t::parser_t::parse_unary_expr(std::istream& in, // A very quick optimization if (term->kind == op_t::VALUE) { - term->as_value_lval().in_place_negate(); + term->as_value_lval().in_place_not(); node = term; } else { node = new op_t(op_t::O_NOT); |