[antlr-interest] Problems with ANTLRv3.g
Andy Tripp
antlr at jazillian.com
Wed Aug 29 12:41:55 PDT 2007
I downloaded the ANTLRv3.g file to parse ANTLR grammars, but ANTLR
complains about it:
ANTLR Parser Generator Version 3.0.1 (August 13, 2007) 1989-2007
warning(105): ANTLRv3.g:84:9: no lexer rule corresponding to token:
DOC_COMMENT
warning(105): ANTLRv3.g:148:4: no lexer rule corresponding to token:
DOC_COMMENT
warning(105): ANTLRv3.g:335:22: no lexer rule corresponding to token:
SEMPRED
warning(105): ANTLRv3.g:242:6: no lexer rule corresponding to token: SEMPRED
warning(200): ANTLRv3.g:342:2: Decision can match input such as
"TOKEN_REF '(' TOKEN_REF '='" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input
warning(200): ANTLRv3.g:455:5: Decision can match input such as "'
''$''A''N''T''L''R'' ''s''r''c'' ''"''\\''\'''"'' ''0'..'9'" using
multiple alternatives: 1,2
As a result, alternative(s) 2 were disabled for that input
I saw that Johannes also got this error, but the response didn't address
this issue, only additional errors.
Am I missing something or is this ANTLRv3.g not really ready yet?
Andy
More information about the antlr-interest
mailing list