Open Scaremonger opened 11 months ago
When using operators that return empty results (E*, &E and E?); an infinite loop can be created when placed inside a repeating pattern (Choice, ZeroOrMore)
I have added a test file "tests/issue001_infinite-loop.bmx" with known examples.
Added basic loop detection.
When using operators that return empty results (E*, &E and E?); an infinite loop can be created when placed inside a repeating pattern (Choice, ZeroOrMore)