summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-15 19:26:52 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-15 19:26:52 -0700
commit9fbd9fb8596af9fd4cdf6a962e53f9d5e18d7d87 (patch)
tree45e4e7a0fe64d4f64a04f44160523e0ad9120331 /include
parent743c91855ec8995022f7aa562c44ae0aa474fc50 (diff)
downloadnasm-9fbd9fb8596af9fd4cdf6a962e53f9d5e18d7d87.tar.gz
preproc: fix mmacro nesting prevention
BR 3392602: mmacros should not nest unless so explicitly specified. Reported-by: C. Masloch <pushbx@38.de> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'include')
-rw-r--r--include/nasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nasm.h b/include/nasm.h
index 860d1fc0..cfeb13ce 100644
--- a/include/nasm.h
+++ b/include/nasm.h
@@ -755,6 +755,7 @@ enum nasm_limit {
LIMIT_STALLED,
LIMIT_MACRO_LEVELS,
LIMIT_MACRO_TOKENS,
+ LIMIT_MMACROS,
LIMIT_REP,
LIMIT_EVAL,
LIMIT_LINES