aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff/rdoff.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-10-08 02:13:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-10-08 02:13:45 -0700
commit49deaf04db7deb555325b6ea8231236d1cdedc39 (patch)
tree94f280406ee3dc359e926557e6f1168d914aa118 /rdoff/rdoff.c
parentd03a6c8ffedd1496221eca5f02ba0215794cfaf9 (diff)
downloadnasm-49deaf04db7deb555325b6ea8231236d1cdedc39.tar.gz
nasm-49deaf04db7deb555325b6ea8231236d1cdedc39.tar.xz
nasm-49deaf04db7deb555325b6ea8231236d1cdedc39.zip
preproc: generalize the loop handling, factor end of expansion handling
Combine together the end of mmacro and end of %rep processing, and don't hardcode that any mmacro without a name is a %rep. Instead keep a pointer to the level to which we need to unwind (we can only unwind one level at a time, almost by definition) if any; if this pointer is set we are currently unwinding. We really shouldn't need three stacks (cond, mstk, istk) to do the job of one, though. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff/rdoff.c')
0 files changed, 0 insertions, 0 deletions