Browse Source

Fixed error message path. Fixes #456.

woollybah 6 years ago
parent
commit
0f47b2d8b5
1 changed files with 4 additions and 0 deletions
  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