From f393a8f700161bef441b2922c2dc01588a59290b Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Wed, 28 Feb 2024 23:45:36 +0100 Subject: [PATCH] #2123 .. --- src/rule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rule.c b/src/rule.c index 5e8b832a..b6c756e3 100644 --- a/src/rule.c +++ b/src/rule.c @@ -52,6 +52,8 @@ void rule_combine_effects(struct rule_effects *effects, struct rule_effects *res result->did = effects->did; if (rule_effects_check_flag(effects, RULE_FOLLOW_SPACE)) { rule_effects_set_flag(result, RULE_FOLLOW_SPACE); + } else { + rule_effects_clear_flag(result, RULE_FOLLOW_SPACE); } } @@ -59,6 +61,8 @@ void rule_combine_effects(struct rule_effects *effects, struct rule_effects *res result->sid = effects->sid; if (rule_effects_check_flag(effects, RULE_FOLLOW_SPACE)) { rule_effects_set_flag(result, RULE_FOLLOW_SPACE); + } else { + rule_effects_clear_flag(result, RULE_FOLLOW_SPACE); } }