mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-19 18:00:23 +08:00
errors: add ERR_NOTE and a default clause to error disposition
ERR_NOTE has no action. Have a default clause as well, for good measure. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
48a810fc19
commit
54aac9d3c1
@ -1929,6 +1929,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args)
|
||||
preproc->error_list_macros(severity);
|
||||
|
||||
switch (severity & ERR_MASK) {
|
||||
case ERR_NOTE:
|
||||
case ERR_DEBUG:
|
||||
/* no further action, by definition */
|
||||
break;
|
||||
@ -1965,6 +1966,8 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args)
|
||||
}
|
||||
exit(3);
|
||||
break;
|
||||
default:
|
||||
break; /* ??? */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user