[antlr-interest] Bad code generated for simple AST rule

shmuel siegel antlr at shmuelhome.mine.nu
Wed Nov 28 01:58:29 PST 2007


Steve Bennett wrote:
>  but is there a good workaround?
>
> paragraph_separator: N+ -> BR+;
>
> .....
> Thanks,
> Steve
>   

paragraph_separators: paragraph_separator+;

paragraph_separator: N -> BR;




More information about the antlr-interest mailing list