/* $Id: serr.h,v 1.1 2002/12/31 00:38:13 batonik Exp $ */ #ifndef SPASM_ERRORS_H #define SPASM_ERRORS_H #define ERROR_PREFIX "*** ERROR ***" #define WARNING_PREFIX "--- Warning -" /* errors */ #define E_SYNTAX "parse/syntax error" #define E_OVERFLOW "value out of range" #define E_REGISTER "no such register" #define E_NOREGISTER "missing parameter (register)" #define E_NOSECTION "no section (TEXT/DATA) defined" #define E_LABEL "duplicated label name" #define E_BADSECTION "not allowed in current section" #define E_IODATA "unable to write data to temp file" #define E_IOCODE "unable to write code to temp file" #define E_NOLABEL "no such label in this section" #define E_TEMPFILE "unable to open one or more temp files" #define E_DEFAULT "unspecified error :)" #define E_IORESULT "unable to create output file" /* warnings */ #define W_NOSTRING "no ASCII string" #define W_ALIGNVAL "ALIGN - only 2 or 4 allowed, skipping" #define W_NOALIGNVAL "no parameter" #define W_NOSKIPVAL W_NOALIGNVAL #define W_NODATA "no data" #define W_CONSTDUP "const value already defined, skipping" #endif