Skip to content

Commit

Permalink
improved error message for parsing negated atom
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Sep 30, 2024
1 parent ef2f133 commit a3d1da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/parser_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ const auto atomic_formula_of_names_predicate_def = (lit('(') >> predicate) > *na
const auto atomic_formula_of_names_equality_def = (lit('(') >> lit('=')) > name > name > lit(')');
const auto atomic_formula_of_names_def = atomic_formula_of_names_equality | atomic_formula_of_names_predicate;
const auto ground_atom_def = atomic_formula_of_names;
const auto negated_ground_atom_def = lit('(') >> keyword_lit("not") > atomic_formula_of_names >> lit(')');
const auto negated_ground_atom_def = lit('(') >> keyword_lit("not") > atomic_formula_of_names > lit(')');
const auto ground_literal_def = negated_ground_atom | ground_atom;

const auto initial_element_literals_def = ground_literal;
Expand Down

0 comments on commit a3d1da3

Please sign in to comment.