2016-01-24 01:24:28 +00:00
|
|
|
#ifndef ERROR_STUFF_H_
|
|
|
|
#define ERROR_STUFF_H_
|
|
|
|
|
2016-01-24 02:38:39 +00:00
|
|
|
#include "macrossTypes.h"
|
|
|
|
|
2016-01-24 23:56:45 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2016-01-24 02:38:39 +00:00
|
|
|
void puntOnError(errorType theError, ...);
|
|
|
|
void printErrorMessage(errorType theError, va_list ap);
|
|
|
|
void error(errorType theError, ...);
|
|
|
|
void verror(errorType theError, va_list ap);
|
|
|
|
void warning(errorType theError, ...);
|
|
|
|
void fatalError(errorType theError, ...);
|
|
|
|
void fatalSystemError(errorType theError, ...);
|
|
|
|
void yyerror(char *s);
|
|
|
|
char *usageString(symbolUsageKindType usageKind);
|
|
|
|
char *valueKindString(valueKindType valueKind);
|
|
|
|
char *assignmentString(assignmentKindType assignment);
|
2016-01-24 01:24:28 +00:00
|
|
|
|
|
|
|
#endif
|