[antlr-interest] antlr3: 'header' is renamed to 'not @header'

Тихомиров Валентин intellij at yandex.ru
Sun Jan 30 09:54:52 PST 2011


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

  header {
    import java.util.*;
  }

reports "'header' not expected grammar".

  @header {
    import java.util.*;
  }

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

Has Terrence ever tested his tool submitting it to the public? Why nobody else complains?

Thanks,
Valentin.


More information about the antlr-interest mailing list