libcmo21/CodeGen/CKDefinesParser.g4
2023-08-20 16:10:22 +08:00

7 lines
170 B
ANTLR

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