发明名称 METHOD OF PRE-PROCESSING CONDITIONAL REGION
摘要 A method for preprocessing a conditional region is provided to efficiently compile the conditional region included in a preprocessing area while a file is compiled, and output an execution result in a short time when the compiled file is executed. A conditional region is searched in a preprocess region by analyzing codes included in a file when compilation is requested, and line information is fixed and stored according to a conditional instruction included in the conditional region. A token list is generated and stored by converting codes into tokens. A predetermined code is sequentially detected from the token list. It is checked whether the searched code is the conditional instruction(505). The line information is searched according to a condition state of a condition sentence accompanied with the previous and current conditional instructions when the searched code is the conditional instruction. The code is detected from the token list according to the line information and a procedure is returned to a search stage. The line information is generated according to a type of a preprocessing instruction and the condition state of the conditional sentence accompanied with the preprocessing instruction.
申请公布号 KR20080045545(A) 申请公布日期 2008.05.23
申请号 KR20060114771 申请日期 2006.11.20
申请人 SAMSUNG ELECTRONICS CO., LTD. 发明人 JUNG, SOON YONG
分类号 G06F9/45;G06F9/06 主分类号 G06F9/45
代理机构 代理人
主权项
地址