[antlr-interest] A little problem with DOT in numbers and as line
terminators.
Eric Merritt
cyberlync at gmail.com
Fri Mar 11 10:57:07 PST 2005
> But di you try syntactic predicate? i.e. ('.' DIGIT)=>
I did, but I didn't quite use it right. The fact that your solution
resolved my problem proves that.
>
> Did you try:
> NUMBER
> : (DIGIT DIGIT 'r')? (DIGIT)+ (('.' DIGIT)=> ('.' (DIGIT)+ EXPONENT))?
No and this solved my problem. Thanks a million.
> rgds
> --
> Sebastian Kaliszewski
>
--
I'm a programmer, I don't have to spell correctly; I just have to
spell consistently
More information about the antlr-interest
mailing list