0
0
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:
H. Peter Anvin (Intel)
2025-11-07 14:32:16 -08:00
parent c0e4def0fe
commit f4f7d18c06
15 changed files with 1024 additions and 918 deletions

View File

@@ -477,4 +477,7 @@ static inline unsigned int watcom_switch_hack(uint64_t x)
# endif
#endif
/* This should be set from main() */
extern const char *_progname;
#endif /* NASM_COMPILER_H */