I compile the example 
http://www.antlr.org/wiki/display/ANTLR3/Migrating+from+ANTLR+2+to+ANTLR+3

  @header {
    import java.util.*;
  }

but it reports "'@' not expected 'grammar'".

  header {
    import java.util.*;
  }

also reports "'header' not expected grammar".

Was the org.antlr.Tool ever tested?

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to