vlasovskikh / funcparserlib

Recursive descent parsing library for Python based on functional combinators
https://funcparserlib.pirx.ru
MIT License
345 stars 38 forks source link

left_recursive() misses left recursion hidden behind many() and maybe() #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example:

    x = a('x')
    nonhalting = fwd()
    nonhalting.define(maybe(x) + nonhalting + x)
    assert non_halting(nonhalting)

Original issue reported on code.google.com by andrey.vlasovskikh on 26 May 2011 at 11:13

GoogleCodeExporter commented 9 years ago
Fixed in [89f89e794af2].

Original comment by andrey.vlasovskikh on 26 May 2011 at 11:47