home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / assembler / as / src / h / error < prev    next >
Encoding:
Text File  |  1992-08-28  |  486 b   |  32 lines

  1.  
  2. /*
  3.  * error.h
  4.  * Copyright © 1992 Niklas Röjemo
  5.  */
  6.  
  7. #ifndef _error_h
  8. #define _error_h
  9.  
  10. #ifndef _global_h
  11. #include "global.h"
  12. #endif
  13.  
  14. void errorInit(int throwback,char *filename);
  15. void errorFinish(void);
  16.  
  17. typedef enum {
  18.   ErrorInfo,
  19.   ErrorWarning,
  20.   ErrorError,
  21.   ErrorSerious,
  22.   ErrorAbort
  23. } ErrorTag;
  24.  
  25. void errorLine(int lineno,ErrorTag e, BOOL c, const char *format, ...);
  26. void error(ErrorTag e, BOOL c, const char *format, ...);
  27.  
  28. int noerrors(void);
  29. int nowarnings(void);
  30.  
  31. #endif
  32.