소스 검색

- use PreProcess(filepath) instead of LoadText(filepath) when including files

Ronny Otto 11 년 전
부모
커밋
0d04e8b3ad
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      parser.bmx

+ 4 - 1
parser.bmx

@@ -2534,7 +2534,10 @@ End Rem
 				'instead of merging the data of multiple parsers, the
 				'same parser is used for all included files - but each
 				'of them uses an individual toker
-				Local includeSource:String = LoadText(includeFile)
+
+				'instead of "LoadText" "PreProcess" is used to include
+				'handling of conditionals and comments
+				Local includeSource:String = PreProcess(includeFile)
 				Local includeToker:TToker = New TToker.Create(includeFile, includeSource)
 
 				'backup old vars