[il-antlr-interest: 23501] Re: [antlr-interest] Problems defining a simple Integer Match

2009-05-04 Thread Michael Strelnikov
Try to add "fragment" prefix before "DIGITO" On Mon, May 4, 2009 at 10:49 PM, Marwan Ajraoui wrote: > Hi There; > > I'm currently defining a grammar for a based tag language using ANTLR; > The problem I'm facing is that a single digit doesn't match my defined > rule INTEGER, here is the definiti

[il-antlr-interest: 23418] [antlr-interest] Error: The following alternatives can never be matched

2009-04-28 Thread Michael Strelnikov
Hi, I have a fairly simple grammar which give me an error I cannot resolve. Could you please look at it? What does it mean and how to fix it? Thanks a lot. [14:20:29] warning(200): C:\tools\verilog\verilog_params\Test.g:4:43: Decision can match input such as "IDENT..ESCAPED_IDENT" using mult