libcmo21/CodeGen/CKDefinesParser.g4

7 lines
170 B
Plaintext
Raw Normal View History

2023-08-20 12:13:40 +08:00
parser grammar CKDefinesParser;
2023-08-17 15:48:30 +08:00
options { tokenVocab = CKGeneralLexer; }
prog: definePair+ ;
2023-08-20 16:10:22 +08:00
definePair: CKGENERAL_DEFINE CKGENERAL_ID (CKGENERAL_NUM | CKGENERAL_ID) ;