2
0
Эх сурвалжийг харах

Fixed error message path. Fixes #456.

woollybah 6 жил өмнө
parent
commit
0f47b2d8b5
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      parser.bmx

+ 4 - 0
parser.bmx

@@ -3447,6 +3447,10 @@ End Rem
 			Local origPath:String = RealPath(filepath)
 			Local path:String = OutputFilePath(origPath, FileMung(), "i")
 
+			If FileType( origPath )<>FILETYPE_FILE
+				Err "File '"+ origPath +"' not found."
+			EndIf
+
 			If FileType( path )<>FILETYPE_FILE
 				Err "File '"+ path +"' not found."
 			EndIf