nasm/include
H. Peter Anvin c51369067c errors: simplify nasm_fatal() and nasm_panic()
Nearly all instances of nasm_fatal() and nasm_panic() take a flags
argument of zero. Simplify the code by making nasm_fatal and
nasm_panic default to no flags, and add an alternate version if flags
really are desired. This also means that every call site doesn't have
to initialize a zero argument.

Furthermore, ERR_NOFILE is now often not necessary, as the error code
will no longer cause a null reference if there is no current
file. Therefore, we can remove many instances of ERR_NOFILE which only
deprives the user of information.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2018-06-15 18:20:17 -07:00
..
bytesex.h bytesex.h: more simplifications and add const 2017-11-29 17:19:27 -08:00
compiler.h malloc: simplify nasm_malloc code, add nasm_strcatn() 2018-05-30 11:40:42 -07:00
disp8.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
error.h errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
hashtbl.h hashtbl, strtbl: add hash_free_all(), split strtbl_find() 2017-04-24 00:54:51 -07:00
iflag.h Fix problem with C99 inlines and -Werror=missing-prototypes 2018-02-20 12:34:17 -08:00
ilog2.h ilog2: return unsigned int for applicable routines 2018-06-14 19:20:08 -07:00
insns.h Merge tag 'nasm-2.13.03' 2018-02-07 13:51:54 -08:00
labels.h Cleanup of label renaming infrastructure, add subsection support 2018-06-01 18:06:25 -07:00
md5.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
nasm.h Make limits 64 bits, add globallines limit to configurable limits 2018-06-15 17:56:25 -07:00
nasmint.h nasmint.h: change header guards to NASM_NASMINT_H 2016-10-04 18:11:57 -07:00
nasmlib.h segalloc: DO NOT reset segment numbers 2018-06-14 16:42:03 -07:00
opflags.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
perfhash.h Add generic perfect string hashes, use for directives 2017-04-03 00:27:07 -07:00
raa.h RAA: clean up the RAA infrastructure, make it support larger indicies 2018-06-14 20:23:49 -07:00
rbtree.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
rdoff.h rdoff: use nasm-provided safe memory allocation and I/O 2017-04-17 13:56:50 -07:00
saa.h saa, raa: saa_init() and raa_init() will never return NULL 2017-04-23 23:37:11 -07:00
strlist.h Factor out common string list handling code 2016-10-04 01:12:28 -07:00
tables.h Handle multiple standard macro sets sanely 2016-07-13 14:23:48 -07:00
ver.h Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00