1lexer grammar t029synpredgate; 2options { 3 language =Cpp; 4} 5 6@lexer::includes 7{ 8#include "UserTestTraits.hpp" 9} 10@lexer::namespace 11{ Antlr3Test } 12 13FOO 14 : ('ab')=> A 15 | ('ac')=> B 16 ; 17 18fragment 19A: 'a'; 20 21fragment 22B: 'a'; 23 24