nasm/output
H. Peter Anvin 7cc9fc4773 stdscan: abstract out the saving/restoring of parser state
The parser state does not just necessarily include the position of the
buffer, but make it possible to maintain additional state.

Furthermore, add an explicit ability to push back a token.

All of this might make it easier at some point in the future to keep
track of horizontal position, although that will require lots of
changes to the preprocessor.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2024-07-24 14:15:35 -07:00
..
codeview.c Fix some typos 2022-01-09 17:34:35 +01:00
dwarf.h Fix some typos 2022-01-09 17:34:35 +01:00
elf.h Fix some typos 2022-01-09 17:34:35 +01:00
legacy.c output/legacy: when converting OUT_SEGMENT, clear the offset 2023-10-16 17:19:45 -07:00
macho.h output: macho -- Move constants into the header 2018-10-24 22:31:07 +03:00
nulldbg.c debug: feed single-line macro definitions and include hierachy to dfmt 2020-08-25 15:52:05 -07:00
nullout.c Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
outaout.c stdscan: abstract out the saving/restoring of parser state 2024-07-24 14:15:35 -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 stdscan: abstract out the saving/restoring of parser state 2024-07-24 14:15:35 -07:00
outbin.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outcoff.c Merge remote-tracking branch 'johannkoenig/master' 2022-11-07 12:54:22 -08:00
outcoff.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outdbg.c debug: feed single-line macro definitions and include hierachy to dfmt 2020-08-25 15:52:05 -07:00
outdbg.mac outdbg: add macro to emulate .bin format ORG directive 2020-08-25 15:50:11 -07:00
outelf.c stdscan: abstract out the saving/restoring of parser state 2024-07-24 14:15:35 -07:00
outelf.h Fix some typos 2022-01-09 17:34:35 +01: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 rdoff: kill it off 2022-11-07 16:49:13 -08:00
outieee.c outieee: fix segfault on empty input 2022-12-07 10:24:14 -08:00
outlib.c outlib: Make ol_add_sym_to being static 2020-07-03 11:01:40 +03:00
outlib.h outlib: fix infinite recursion due to incorrect wrapping 2020-07-02 20:48:43 -07:00
outmacho.c Fix some typos 2022-01-09 17:34:35 +01:00
outmacho.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outobj.c stdscan: abstract out the saving/restoring of parser state 2024-07-24 14:15:35 -07:00
outobj.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
pecoff.h output/coff: Support for COMDAT sections 2021-12-17 23:45:25 +03:00
stabs.h Replace <ctype.h> includes with "nctype.h" 2018-12-27 12:37:25 -08:00