Skip to content

Commit

Permalink
#2123 ..
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Feb 28, 2024
1 parent 5074887 commit f393a8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rule.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,17 @@ 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);
}
}

if (effects->sid) {
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);
}
}

Expand Down

0 comments on commit f393a8f

Please sign in to comment.