41 void as6502_fatal(
const char *reason) __attribute((noreturn));
43 void as6502_error(
unsigned long loc,
unsigned long len,
const char *reason, ...);
45 void as6502_warn(
unsigned long loc,
unsigned long len,
const char *reason, ...);
47 void as6502_note(
unsigned long lineNumber,
const char *reason, ...);
49 void as6502_underline(
const char *str,
unsigned long loc,
unsigned long len);
void as6502_note(unsigned long lineNumber, const char *reason,...)
Called for code notation which pertain to preceding errors or warnings, this can reference other code...
Definition: error.c:103
void as6502_error(unsigned long loc, unsigned long len, const char *reason,...)
Called for code errors detected during assembly, which prevent producing a binary.
Definition: error.c:88
unsigned int currentErrorCount
Current total number of errors encountered.
Definition: error.c:36
void as6502_warn(unsigned long loc, unsigned long len, const char *reason,...)
Called for code warnings detected during assembly, which don't prevent producing a binary...
Definition: error.c:96
const char * currentFileName
Current file name.
Definition: error.c:35
const char * currentLineText
Current line number.
Definition: error.c:33
void as6502_underline(const char *str, unsigned long loc, unsigned long len)
This function outputs an underline annotation for a given character range.
Definition: error.c:118
void as6502_fatal(const char *reason) __attribute((noreturn))
Called for fatal errors during assembly, such as internal memory failures.
unsigned long currentLineNum
Current line number.
Definition: error.c:34