Please sign in to comment.
[fix] parser construct and stdlib.core.parser: fix loop behaviour wit…
…h '*', '+' used with non progressing parser when '*' and '+' construct were used with non progressing rules, the old behaviour was too loop the new behaviour is to detect such situation and to finish the '*' and '+' construct with proper status for instance with: many_a = parser .* -> void many_ab = parser many_a* "b" -> void before: the parser many_a can always be successful by parsing nothing so the parser many_ab applies repeatedly with success the parser many_a at the start of the input in loop now: when no progress is made in a repeating construction ('+','*'), the construction is done
- Loading branch information...
Showing with 13 additions and 9 deletions.