]> git.sur5r.net Git - cc65/blobdiff - src/ca65/filetab.c
Replace error/warning numbers by strings.
[cc65] / src / ca65 / filetab.c
index b055428f5d48fd260e1d9edb9f86271691aeba09..bcfcab5da4c4e970d81fe82df19ddf4bc6dd68f6 100644 (file)
@@ -215,8 +215,8 @@ unsigned GetFileIndex (const char* Name)
 
     /* If we don't have this index, print a diagnostic and use the main file */
     if (F == 0) {
-        Error (ERR_FILENAME_NOT_FOUND, Name);
-        return 0;
+        Error ("File name `%s' not found in file table", Name);
+        return 0;                                      
     } else {
         return F->Index;
     }