Add "error when reading from file" error.

svn path=/trunk/yasm/; revision=131
0.3
Peter Johnson 24 years ago
parent 50cd4f238f
commit b3a5266c00
  1. 5
      libyasm/errwarn.c
  2. 5
      libyasm/errwarn.h
  3. 5
      src/errwarn.c
  4. 5
      src/errwarn.h

@ -1,4 +1,4 @@
/* $Id: errwarn.c,v 1.18 2001/08/18 22:15:12 peter Exp $
/* $Id: errwarn.c,v 1.19 2001/08/18 23:05:37 peter Exp $
* Error and warning reporting and related functions.
*
* Copyright (C) 2001 Peter Johnson
@ -73,7 +73,8 @@ static char *err_msgs[] = {
"expression syntax error",
"floating-point constant encountered in `%s'",
"non-floating-point value encountered in `%s'",
"could not open file `%s'"
"could not open file `%s'",
"error when reading from file"
};
/* Warning messages. Match up with warn_num enum in errwarn.h. */

@ -1,4 +1,4 @@
/* $Id: errwarn.h,v 1.12 2001/08/18 22:15:12 peter Exp $
/* $Id: errwarn.h,v 1.13 2001/08/18 23:05:37 peter Exp $
* Error and warning reporting and related functions header file.
*
* Copyright (C) 2001 Peter Johnson
@ -51,7 +51,8 @@ typedef enum {
ERR_EXPR_SYNTAX,
ERR_DECLDATA_FLOAT,
ERR_DECLDATA_EXPR,
ERR_FILE_OPEN
ERR_FILE_OPEN,
ERR_FILE_READ
} err_num;
/* Warning constants. Match up with warn_msgs in errwarn.c. */

@ -1,4 +1,4 @@
/* $Id: errwarn.c,v 1.18 2001/08/18 22:15:12 peter Exp $
/* $Id: errwarn.c,v 1.19 2001/08/18 23:05:37 peter Exp $
* Error and warning reporting and related functions.
*
* Copyright (C) 2001 Peter Johnson
@ -73,7 +73,8 @@ static char *err_msgs[] = {
"expression syntax error",
"floating-point constant encountered in `%s'",
"non-floating-point value encountered in `%s'",
"could not open file `%s'"
"could not open file `%s'",
"error when reading from file"
};
/* Warning messages. Match up with warn_num enum in errwarn.h. */

@ -1,4 +1,4 @@
/* $Id: errwarn.h,v 1.12 2001/08/18 22:15:12 peter Exp $
/* $Id: errwarn.h,v 1.13 2001/08/18 23:05:37 peter Exp $
* Error and warning reporting and related functions header file.
*
* Copyright (C) 2001 Peter Johnson
@ -51,7 +51,8 @@ typedef enum {
ERR_EXPR_SYNTAX,
ERR_DECLDATA_FLOAT,
ERR_DECLDATA_EXPR,
ERR_FILE_OPEN
ERR_FILE_OPEN,
ERR_FILE_READ
} err_num;
/* Warning constants. Match up with warn_msgs in errwarn.c. */

Loading…
Cancel
Save