[antlr-interest] missing MATCHRANGE macro

yushang yusunn at gmail.com
Sat Nov 5 21:15:08 PDT 2011


Hi Jim,
My tool version is 3.4 and C rt is libantlr3c-3.4-beta4 , following is
the errored code fragment of PLSQLParser.c:
...
switch (alt17)
            {
        	case 1:
        	    // PLSQL.g:91:4: '0' .. '9' ( '0' .. '9' )*      // <=
This is my grammar file
        	    {
        	        root_0 = (pANTLR3_BASE_TREE)(ADAPTOR->nilNode(ADAPTOR));


        	        MATCHRANGE('0', '9');                  // <= This is
the missed macro
...
Does this help ? Many thanks

2011/11/6 Jim Idle <jimi at temporal-wave.com>:
> It isn't missing, so perhaps if you gave some information, we might be
> able to help you.
>
> Such as:
> what version of the tool,
> what version of the runtime,
> what operating system,
> what compilers,
> what your grammar looks like,
> what the actual error messages are,
> how you compiled it,
> and what makes you think that the macro is not present.
>
>
> Just out of interest, suppose I had just said "Yes"? ;) Seriously though,
> you need to ask your question a little better than this.
>
> Jim
>
>> -----Original Message-----
>> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
>> bounces at antlr.org] On Behalf Of yushang
>> Sent: Saturday, November 05, 2011 6:24 AM
>> To: antlr-interest at antlr.org
>> Subject: [antlr-interest] missing MATCHRANGE macro
>>
>> Hi , I'm using ANTLR v3 C runtime and found this macro is missing from
>> the generated *Parser.c and *Parser.h . This macro can be found in
>> *Lexer.c file . Is this a bug ?
>> thanks in advance .
>>
>> 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
>


More information about the antlr-interest mailing list