A further update. This now looks very much like a bug in the progress reports, one which causes the rule to be misreported for certain left recursions. (Note that as I get closer to fixing a bug, the bug's description typically changes.) It's hitting your code because the code uses the last_completed() method, and internally last_completed() uses Libmarpa's progress reports.

I hope to have a fix in a couple of days.

@Ion: Thanks very much for catching this

--  jeffrey

On 08/07/2014 12:20 AM, Ion Toloaca wrote:
Hello Jefrey,

      I followed your advice and added parse trees to my grammar.
However this only confirmed my doubts - for this particular example
there are 2 parse trees - one that doesn't contain the 'Notation' rule at all,
and another one that contains it with [start,length] = [6,20].
      Therefore,why [start,length]=[16,10] is to be expected in this case?
https://github.com/itoloaca/Notation-Based-Parsing/blob/master/output.txt


--
You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "marpa 
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to