/* Check for end of input */
if (Tok == TOK_EOF) {
- Error (ERR_UNEXPECTED_EOF);
+ Error ("Unexpected end of file");
FreeTokList (List);
return 0;
}
/* Repeat count follows */
long RepCount = ConstExpression ();
if (RepCount < 0) {
- Error (ERR_RANGE);
+ Error ("Range error");
RepCount = 0;
}
/* 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);