[antlr-interest] valid grammar does not compile
D. Frej
dieter_frej at gmx.net
Thu Nov 17 00:14:57 PST 2011
Hi,
I build the following grammar with antlrworks:
grammar questionmark;
horef
: '\?' ('a'..'z')
;
antlrworks tells me "check grammar succeeded". However, debugging does not
works because the generated code does not compile !?
My question: how does the rule have to look like so that the code compile?
I want to parse text of the form ?a which should be a trivial task for
antlr.
Thanks,
Didi
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
More information about the antlr-interest
mailing list