I am utilizing lemon in one of my Apple Store Apps. My parser works fine with
the 'old' lempar.c found in source tree TRUNK/tool/.I also found a
newer version in TRUNK/src, but when I compile myparser.c generated using this
lempar.c, I got compilation errors:test.c:376:7: error: use of
undeclar
On 4/15/15, Neo Anderson wrote:
> I am utilizing lemon in one of my Apple Store Apps. My parser works fine
> with the 'old' lempar.c found in source tree TRUNK/tool/.I also
> found a newer version in TRUNK/src, but when I compile myparser.c generated
> using this lempar.c, I got compilation errors
Hello,
I finally find the bug. In fact that was many bugs.
- Grammar rule order.
- Input string not reseted properly.
Thank you.
David
On Nov 18, 2007 10:30 AM, Joe Wilson <[EMAIL PROTECTED]> wrote:
> It's most likely your bug. Just add some debug prints in your grammar
> and tokenizer to see
It's most likely your bug. Just add some debug prints in your grammar
and tokenizer to see what's going on.
See also: ParseTrace() in http://www.hwaci.com/sw/lemon/lemon.html
--- Téragone <[EMAIL PROTECTED]> wrote:
> I have a problem with a rule of a small calculator which accept variables :
>
>
Hello,
I have a problem with a rule of a small calculator which accept variables :
assignment(A) ::= VARIABLE(C) EQUAL expr(B).
I can set variable with simple value or expression like :
a=2
b=2+3
but when I try :
c=a+b
The result is put in variable b instead of c.
Is it my bug or a Lemon bug
5 matches
Mail list logo