lexer grammar t048rewrite; options { language=Cpp; } @lexer::includes { #include "UserTestTraits.hpp" } @lexer::namespace { Antlr3Test } A: 'a'; B: 'b'; C: 'c';