mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
error: new flag ERR_HERE
ERR_HERE is used to mark messages of the form "... here" so that we can emit sane output to the list file with filename and line number, instead of a nonsensical "here" which could point almost anywhere. This patch contains some changes from the one in the master branch to make the code cleaner. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
c0b32a3650
commit
e2f5edbb3a
6 changed files with 87 additions and 71 deletions
|
|
@ -72,6 +72,7 @@ static inline vefunc nasm_set_verror(vefunc ve)
|
|||
* and dump core for reference */
|
||||
#define ERR_MASK 0x00000007 /* mask off the above codes */
|
||||
#define ERR_NOFILE 0x00000010 /* don't give source file name/line */
|
||||
#define ERR_HERE 0x00000020 /* point to a specific source location */
|
||||
#define ERR_USAGE 0x00000040 /* print a usage message */
|
||||
#define ERR_PASS1 0x00000080 /* only print this error on pass 1 */
|
||||
#define ERR_PASS2 0x00000100 /* only print this error on pass 2 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue