[antlr-interest] Grammar help

Bart Kiers bkiers at gmail.com
Mon Mar 15 23:37:28 PDT 2010


On Tue, Mar 16, 2010 at 7:35 AM, Bart Kiers <bkiers at gmail.com> wrote:

> On Tue, Mar 16, 2010 at 4:54 AM, Brian Catlin <BrianC at sannas.org> 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.


More information about the antlr-interest mailing list