Please sign in to comment.
[fix] TRX: Evaluation of productions was sometimes too eager.
If a choice was rejected because of partiality (i.e. parsing was non-partial and the rule matched but did not consume all input) then its associated production was still evaluated. So for instance: do Parser.parse( parser "/" -> jlog("bli") | "/bla" -> jlog("bla"), "/bla") would print both bli & bla (OPA-832). Fixed now.
- Loading branch information...
Showing with 10 additions and 3 deletions.