首页>
外国专利>
CONDITIONAL COMPILATION PREPROCESSING METHOD, TERMINAL AND STORAGE MEDIUM
CONDITIONAL COMPILATION PREPROCESSING METHOD, TERMINAL AND STORAGE MEDIUM
展开▼
机译:条件编译预处理方法,终端和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A conditional compilation preprocessing method, comprising: acquiring an original program text to be processed (202), analyzing the original program text, discovering a corresponding matching keyword according to a preset regular expression, and outputting a corresponding label (204), discovering a corresponding matching event according to the label and preset conditional compilation syntax rules (206), determining, according to the current state and the event, a corresponding processing action (208), and performing corresponding processing of the original program text according to the determined processing action, and outputting a processed target program text (210).
展开▼