[antlr-interest] [C Target] Why It is here: if (BACKTRACKING>0)

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jan 23 02:00:55 PST 2008


Hi All,

I have got first success with generated C source files from our Valentina
SQL grammar.

And I see these lines:

                    if (BACKTRACKING>0)
                    {
                        FAILEDFLAG = ANTLR3_TRUE;
                        return retval;
                    }


I do not understand why this present here at all, if in our grammar
backtracking is OFF always.

Jim ?


-------
Generated C - file is 4 Mb
Wow, ANTLR2 did generate 0.5 MB

But yes I see that a lots of comments present here now.
:-)

Its not a problem, just for info.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the antlr-interest mailing list