Replace error/warning numbers by strings.

More work on address sizes and scoping.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2620 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-11-08 17:20:21 +00:00
parent 7e74078801
commit 44976a0461
25 changed files with 294 additions and 493 deletions

View File

@@ -67,7 +67,7 @@ static TokList* CollectRepeatTokens (void)
/* Check for end of input */
if (Tok == TOK_EOF) {
Error (ERR_UNEXPECTED_EOF);
Error ("Unexpected end of file");
FreeTokList (List);
return 0;
}
@@ -127,7 +127,7 @@ void ParseRepeat (void)
/* Repeat count follows */
long RepCount = ConstExpression ();
if (RepCount < 0) {
Error (ERR_RANGE);
Error ("Range error");
RepCount = 0;
}
@@ -140,7 +140,7 @@ void ParseRepeat (void)
/* Check for an identifier */
if (Tok != TOK_IDENT) {
ErrorSkip (ERR_IDENT_EXPECTED);
ErrorSkip ("Identifier expected");
} else {
/* Remember the name and skip it */
Name = xstrdup (SVal);