asm/*: Move directive processing to its own file, refactor error handling
commitb20bc733c93f9f4fd3ba44dd6af36dc3b578d041
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 03:23:03 +0000 (7 19:23 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Mar 2017 03:31:04 +0000 (7 19:31 -0800)
tree18f2112c446ae63e33c3e919da87006c64dc8cdc
parented40e2528d3d3d39fd72c32710933d30d2babca1
asm/*: Move directive processing to its own file, refactor error handling

Move directive processing to its own file, and move nasmlib/error.c to
asm/error.c (it was not used by the disassembler); remove some extern
declarations from .c files, and do some general code cleanups.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
38 files changed:
Makefile.in
Mkfiles/msvc.mak
Mkfiles/netware.mak
Mkfiles/openwcom.mak
Mkfiles/owlinux.mak
asm/assemble.c
asm/assemble.h
asm/directiv.c [new file with mode: 0644]
asm/directiv.pl
asm/error.c [moved from nasmlib/error.c with 62% similarity]
asm/eval.c
asm/float.c
asm/labels.c
asm/listing.c
asm/nasm.c
asm/parser.c
asm/preproc-nop.c
asm/preproc.c
asm/stdscan.c
disasm/ndisasm.c
include/iflag.h
include/nasmlib.h
nasmlib/file.h
nasmlib/filename.c
nasmlib/malloc.c
nasmlib/readnum.c
output/codeview.c
output/outaout.c
output/outas86.c
output/outbin.c
output/outcoff.c
output/outelf.c
output/outieee.c
output/outlib.h
output/outmacho.c
output/outobj.c
output/outrdf2.c
stdlib/vsnprintf.c