[antlr-interest] @rulecatch{} significant line feed required?

Volker Stolz vs at iist.unu.edu
Tue Jun 2 03:03:35 PDT 2009


I just stumbled over the following behaviour (using ANTLRWorks 1.2.3) 
for Java codegen:

  @rulecatch{}

does not do anything, while

  @rulecatch{// new line
  }

creates the finally-block that I needed. I couldn't find this referenced 
anywhere, so I was wondering whether it might classify as a bug. It's 
certainly counter-intuitive.

Volker

-- 
United Nations University -                       http://rcos.iist.unu.edu/~vs/
International Institute for Software Technology   Macau SAR, China



More information about the antlr-interest mailing list