This commit is contained in:
William Ballenthin
2021-11-10 14:15:52 -07:00
parent 68c86cf620
commit 80fb9dec3c

View File

@@ -1067,7 +1067,7 @@ class RuleSet:
elif isinstance(node, (ceng.Some)) and node.count == 0:
# `optional:` and `0 or more:` are tricky to deal with.
#
# when a subtree is optional, it may match, but not matching
# when a subtree is optional, it may match, but not matching
# doesn't have any impact either.
# now, our rule authors *should* not put this under `or:`
# and this is checked by the linter,