home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dosdisas.zip / dccsrcoo.zip / error.h < prev    next >
Text File  |  1997-09-10  |  2KB  |  52 lines

  1. /*****************************************************************************
  2.  *$Log:    error.h,v $
  3.  * Revision 2.6  94/02/22  15:19:47  cifuente
  4.  * Code generation is done.
  5.  * 
  6.  * Revision 2.5  93/10/11  11:46:36  cifuente
  7.  * New error identifier for unknown condition code use/def resolution.
  8.  * 
  9.  * Revision 2.4  93/09/20  11:48:45  cifuente
  10.  * Changed tabs to spaces
  11.  * 
  12.  * Revision 2.3  93/08/23  12:34:48  cifuente
  13.  * Interactive mode with curses
  14.  * 
  15.  * Revision 2.1  93/03/30  14:48:36  cifuente
  16.  * Compiled with gcc.
  17.  * 
  18.  * Revision 1.2  92/10/13  15:28:32  lederman
  19.  * *** empty log message ***
  20.  * 
  21.  * Revision 1.1  92/10/09  14:22:05  lederman
  22.  * Initial revision
  23.  * 
  24.  ****************************************************************************/
  25.  
  26. /* These definitions refer to errorMessage in error.cpp */
  27.  
  28. #define USAGE                   0
  29. #define INVALID_ARG             1
  30. #define INVALID_OPCODE          2
  31. #define INVALID_386OP           3
  32. #define FUNNY_SEGOVR            4
  33. #define FUNNY_REP               5
  34. #define CANNOT_OPEN             6
  35. #define CANNOT_READ             7
  36. #define MALLOC_FAILED           8
  37. #define NEWEXE_FORMAT           9
  38.  
  39. #define NO_BB                      10
  40. #define INVALID_SYNTHETIC_BB    11
  41. #define INVALID_INT_BB          12
  42. #define IP_OUT_OF_RANGE         13
  43. #define DEF_NOT_FOUND           14
  44. #define JX_NOT_DEF                15
  45. #define NOT_DEF_USE                16
  46. #define REPEAT_FAIL                17
  47. #define WHILE_FAIL                18
  48.  
  49. void fatalError(Int errId, ...);
  50. void reportError(Int errId, ...);
  51.  
  52.