Change the implementation of the file table. It may now grow to an arbitrary
size. It is also possible to search in the table by name, which will be needed later to add line debug information. git-svn-id: svn://svn.cc65.org/cc65/trunk@262 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
/* ca65 */
|
||||
#include "filetab.h"
|
||||
#include "nexttok.h"
|
||||
@@ -186,6 +186,7 @@ void ErrorMsg (const FilePos* Pos, unsigned ErrNum, va_list ap)
|
||||
"Counter underflow",
|
||||
"Undefined label",
|
||||
"Open `%s<>",
|
||||
"File name `%s' not found in file table",
|
||||
};
|
||||
|
||||
fprintf (stderr, "%s(%lu): Error #%u: ",
|
||||
|
||||
Reference in New Issue
Block a user