parser grammar CKDefinesParser; options { tokenVocab = CKGeneralLexer; } prog: definePair+ ; definePair: CKGENERAL_DEFINE CKGENERAL_ID (CKGENERAL_NUM | CKGENERAL_ID) ;