On Apr 28, 2:05 pm, mor...@faui2k3.org (Moritz Lenz) wrote:
> Am 27.04.2010 06:31, schrieb Stéphane Payrard:
>
> > When doing an analyse of a sample parse tree, I note that it is
> > cluttered by the reduction of optional subrules
> > to generate a zero length parse subtree. That is, rules with a
C and being zero width assertions , I think they must
always be called with
a question mark. This is not the case line 394 and 1537.
Perljam suggested that a zero width assertion can be also a capturing
one and that
could explain the dropping of the question mark. I don't agree with
that suggesti
This patch should fix the problem.
Note that one needs to run flex so as to generate the dependant file
that is tracked by svn.
cd compilers/imcc
flex -d -o imclexer.c imcc.l
Index: compilers/imcc/imcc.l
===
--- compilers/imcc/imcc