17 #define PS_MAX_ERRORS 128
82#define ps_print_errors() ps_fprint_errors(stderr)
usize ps_error_count(void)
The number of errors that have been reported in the error reporting system.
void ps_fprint_errors(FILE *stream)
Prints all errors in the error-reporting system to the given output stream stream.
ps_error_scope
THe domain of error that occured.
ps_error_code
The type of error that occured.
static void usize struct ps_loc loc
Retrieval of associated data from custom enum (see enum.h).
Represents an error or source-referencing display message.
enum ps_error_scope scope
Represents a token location.