Przeglądaj źródła

Fixed error message path. Fixes #456.

woollybah 6 lat temu
rodzic
commit
0f47b2d8b5
1 zmienionych plików z 4 dodań i 0 usunięć
  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