mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-11-08 23:27:15 -05:00
error: factor out error functions into separate files
Tidy up a *lot* of code by moving error functions into separate source files. This required breaking out some of the assembler-only files into a separate library, as it conflicts with stubs in the disassembler. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -15,6 +15,15 @@
|
||||
*/
|
||||
struct globalopt globl;
|
||||
|
||||
void reset_global_defaults(int bits)
|
||||
{
|
||||
globl.bits = bits;
|
||||
globl.bnd = false;
|
||||
globl.rel = 0;
|
||||
globl.reldef = EAF_FS|EAF_GS;
|
||||
globl.dollarhex = true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Name of a register token, if applicable; otherwise NULL
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user