From 0e5b27b905c44d73496cb380abf0b068fa5a9d8d Mon Sep 17 00:00:00 2001 From: Dominik Drexler Date: Tue, 4 Jun 2024 17:36:11 +0200 Subject: [PATCH] fix order of alternatives in policy grammar after introducing new effects --- setup.py | 2 +- src/policy/parsers/syntactic/parser_def.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 0192d135..778303d9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages, Extension from setuptools.command.build_ext import build_ext -__version__ = "0.3.24" +__version__ = "0.3.25" HERE = Path(__file__).resolve().parent diff --git a/src/policy/parsers/syntactic/parser_def.hpp b/src/policy/parsers/syntactic/parser_def.hpp index 63ad18a3..ee6fb9da 100644 --- a/src/policy/parsers/syntactic/parser_def.hpp +++ b/src/policy/parsers/syntactic/parser_def.hpp @@ -159,8 +159,8 @@ namespace dlplan::policy::parser | greater_concept_condition | equal_concept_condition; const auto feature_effect_def = positive_boolean_effect | negative_boolean_effect | unchanged_boolean_effect - | increment_numerical_effect | increment_or_unchanged_numerical_effect - | decrement_numerical_effect | decrement_or_unchanged_numerical_effect + | increment_or_unchanged_numerical_effect | increment_numerical_effect + | decrement_or_unchanged_numerical_effect | decrement_numerical_effect | unchanged_numerical_effect | greater_numerical_effect | equal_numerical_effect | increment_concept_effect | decrement_concept_effect | unchanged_concept_effect | greater_concept_effect | equal_concept_effect;