Austin Hastings wrote: > In java, ANTLR creates a named variable for each label you use. Check > for meta == null, without using a '$' sign. > > if (meta != null) I'd like to add that in 3.1 the check for null is done automatically for you. The original code will work then fine. Johannes