[antlr-interest] tokenVocab option leads to incomplete DFA in lexer

Jim Idle jimi at temporal-wave.com
Fri Jan 25 07:44:49 PST 2008



> -----Original Message-----
> From: Erik Kratochvíl [mailto:discontinuum at gmail.com]
> Sent: Friday, January 25, 2008 5:30 AM
> 
> The only drawback is that you have to use DECLARE instead of 'declare'
> in the parser grammar


I strongly advocate doing this. I can't see any advantage of using 
'ssss' in the parser, only downsides <duck>.

Jim



More information about the antlr-interest mailing list