1 grammar VecMath; 2 3 options 4 { 5 ASTLabelType=CommonTree; 6 output=AST; 7 language=CSharp3; 8 } 9 10 import VecMath_Lexer, VecMath_Parser; 11 12 @lexer::namespace{Antlr3.Runtime.Test.Composition} 13 @parser::namespace{Antlr3.Runtime.Test.Composition} 14 15 public 16 main 17 : prog 18 ; 19 20 dummy 21 : 'DUMMY' // 1. If the parser or the composite grammar does not contain a token, no lexer is generated. 22 ; 23