On Thu, 2008-08-28 at 13:29 +0800, Ronghui Yu wrote:
>
>
> The following is the complete implementation of CREATE DATABASE of our
> Sybase parser, and it shows its structures.
> The text in red below was added a few days ago when I found this
> problem. I commented it because they would introduce some other
> problems. God....
>
> Thanks
>
> grammar Sybase;
> options
> {
> language = C;
> backtrack = true;
Hmmm - backtrack = true isn't a good idea for something like SQL (or
almost any production parser really) - this may be masking your issue,
but I will look at this for you this weekend - apologies that I am too
busy to look a this before then.
Also, my own parser matches the comments in the lexer and places them on
their own channel. You can then look for them in the tree walker if you
need them.
Jim
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address