Thanks Bart. Jeez, I feel stupid. While that gets rid of those warnings (why don't the warnings print a reasonable line number? I would call that a BUG), the fundamental problem of being able to parse (or otherwise capture the file name) still exists.
Any ideas? -Brian -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bart Kiers Sent: Tuesday, March 16, 2010 14:37 To: [email protected] Subject: Re: [antlr-interest] Grammar help On Tue, Mar 16, 2010 at 7:35 AM, Bart Kiers <[email protected]> wrote: > On Tue, Mar 16, 2010 at 4:54 AM, Brian Catlin <[email protected]> wrote: > >> >> When I compile the grammar with ANTLR, I get the following: >> >> >> >> warning(149): Commands.g:0:0: rewrite syntax or operator with no >> output option; setting output=AST >> > > > ... > The same goes for: qualifier : ALL ! CODE // should be a '|' instead of a '!' | TABLE ; Bart. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- 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.
