nasm/output
H. Peter Anvin d235408c65 preproc: standard macros now C-safe, %aliases off, fix %? recursion
Enough users expect the namespace starting with underscore to be safe
for symbols. Change our private namespace from __foo__ to
__?foo?__. Use %defalias to provide backwards compatiblity (by using
%defalias instead of %define, we handle the case properly where the
user changes the value.)

Add a preprocessor directive:

%aliases off

... to disable all smacro aliases and thereby making the namespace
clean.

Finally, fix infinite recursion when seeing %? or %?? due to
paste_tokens(). If we don't paste anything, the expansion is done.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2019-08-27 16:42:41 -07:00
..
codeview.c Additional listing options, improve help output, fix macro limits 2019-08-10 01:46:58 -07:00
dwarf.h dwarf: Update header and drop redundant space 2018-10-28 23:51:18 +03:00
elf.h Merge branch 'evalmacro' 2019-04-24 11:14:43 -07:00
legacy.c Sanitize the handling of segments a bit 2017-05-03 17:33:04 -07:00
macho.h output: macho -- Move constants into the header 2018-10-24 22:31:07 +03:00
nulldbg.c Clean up backend format names 2019-08-10 02:28:17 -07:00
nullout.c Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
outaout.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outaout.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outas86.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outas86.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outbin.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outbin.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outcoff.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outcoff.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outdbg.c Replace nasm_error(ERR_WARNING|...) with nasm_warn() 2019-08-06 19:18:36 -07:00
outdbg.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outelf.c outelf: change debug format default to dwarf 2019-08-10 02:30:29 -07:00
outelf.h Merge branch 'evalmacro' 2019-04-24 11:14:43 -07:00
outelf.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outform.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outform.h Clean up backend format names 2019-08-10 02:28:17 -07:00
outieee.c Remove #includes already provided by "compiler.h" 2018-12-27 12:45:44 -08:00
outlib.c Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
outlib.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
outmacho.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outmacho.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outobj.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outobj.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outrdf2.c Remove #includes already provided by "compiler.h" 2018-12-27 12:45:44 -08:00
outrdf2.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outrdf.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
pecoff.h With buffered warnings, change the handling of error passes 2018-12-18 12:25:11 -08:00
stabs.h Replace <ctype.h> includes with "nctype.h" 2018-12-27 12:37:25 -08:00