MyRule: comments+=SL_COMMENT* info=Revision comments+=SL_COMMENT*; Revision: '--' 'Revision' INT; terminal INT returns ecore::EInt: '-'? ('0'..'9' | '_')+; terminal SL_COMMENT: '--' !('\n' | '\r')* NL?; terminal NL: ('\r'? '\n') (WS | '\r' | '\n')*;