aboutsummaryrefslogtreecommitdiffstats
path: root/asm/preproc.c
Commit message (Expand)AuthorAgeFilesLines
* preproc: don't unmacro if macro cannot be found.Marco Vanotti2022-11-071-0/+5
* Revert "preproc: fix memory leak (and possibly CVEs?)"H. Peter Anvin2022-11-071-1/+0
* Merge remote-tracking branch 'ElyesH/typos'H. Peter Anvin2022-11-071-9/+9
|\
| * Fix some typosElyes HAOUAS2022-01-091-9/+9
* | Merge remote-tracking branch 'ElyesH/comments'H. Peter Anvin2022-11-071-1/+1
|\ \
| * | Fix some commentsElyes HAOUAS2022-01-091-1/+1
| |/
* | Merge remote-tracking branch 'igg0/strcat'H. Peter Anvin2022-11-071-4/+1
|\ \
| * | Fixed optional comma separator in %strcatIgor Glucksmann2022-02-021-4/+1
| |/
* | preproc: fix memory leak (and possibly CVEs?)zhrf20202022-11-071-0/+1
* | preproc: fix use of free() instead of nasm_free()H. Peter Anvin2022-11-071-2/+2
* | preproc: add warning for empty %{} constructH. Peter Anvin2022-11-071-0/+3
* | preproc: an empty %[] construct generates a null token, dropH. Peter Anvin2022-11-071-3/+7
|/
* preproc: fix misparsing of << as right shiftOleg Oshmyan2021-09-211-1/+1
* preproc: fix pasting of TOKEN_HERE, TOKEN_BASE and TOKEN_QMARKH. Peter Anvin (Intel)2021-03-241-3/+9
* Merge branch 'nasm-2.15.xx'Cyrill Gorcunov2020-12-311-0/+13
|\
| * preproc: prohibit unmacro while macro expansionIgor Munkin2020-12-311-0/+13
* | preproc: use explicit addressing while clearing smacroCyrill Gorcunov2020-10-051-1/+1
* | asm/preproc.c: in tokenize() advance pointer past ? for TOKEN_QMARKH. Peter Anvin (Intel)2020-09-111-0/+1
* | preproc: when parsing an smacro template, don't mistake , for )H. Peter Anvin (Intel)2020-09-041-2/+4
* | preproc: don't loop on a variable that doesn't advanceH. Peter Anvin (Intel)2020-09-041-1/+3
* | preproc: add %eval() function, add back %isn*()H. Peter Anvin (Intel)2020-09-041-40/+112
* | Merge tag 'nasm-2.15.05'H. Peter Anvin (Intel)2020-08-311-1/+1
|\|
| * BR 3392715: fix %ifid with $ and $$H. Peter Anvin (Intel)2020-08-271-4/+2
* | Merge tag 'nasm-2.15.04'H. Peter Anvin (Intel)2020-08-251-47/+128
|\|
| * BR3392711: preproc: fix memory corruption in expand_one_smacroCyrill Gorcunov2020-08-181-4/+4
| * BR3392712: pp_tokline: fix double freeCyrill Gorcunov2020-08-171-0/+3
| * BR 3392708: fix NULL pointer reference for invalid %stacksizeH. Peter Anvin (Intel)2020-07-301-5/+13
| * preproc: add %*? and %*??H. Peter Anvin2020-07-181-44/+117
* | Merge remote-tracking branch 'github/master'H. Peter Anvin (Intel)2020-08-251-26/+63
|\ \
| * | Merge tag 'nasm-2.15.03'H. Peter Anvin2020-07-171-27/+67
| |\|
| | * preproc: when printing errors, don't descent into unlisted macrosH. Peter Anvin2020-07-161-0/+2
| | * preproc: BR 2292698: fix handling of whitespace around %+H. Peter Anvin (Intel)2020-07-151-23/+30
| | * BR 3392696: nasm_quote -- fixup callersCyrill Gorcunov2020-07-121-1/+1
| | * preproc: saner handling of cpp-style line directivesH. Peter Anvin (Intel)2020-07-101-19/+26
| | * preproc: preserve %[...] in listingsH. Peter Anvin (Intel)2020-07-101-2/+23
| | * preproc: add a %null directive for the masm macro packageH. Peter Anvin (Intel)2020-07-101-0/+5
| | * preproc: correctly handle %00 capturing a labelH. Peter Anvin (Intel)2020-07-101-1/+7
* | | debug: feed single-line macro definitions and include hierachy to dfmtH. Peter Anvin (Intel)2020-08-251-34/+79
* | | Change dfmt->debug_macros to dfmt->debug_mmacrosH. Peter Anvin (Intel)2020-07-141-2/+2
|/ /
* | preproc, doc: change a few remaining TOK_ -> TOKEN_ in comments onlyH. Peter Anvin (Intel)2020-07-141-5/+5
* | preproc: unify token codes between the preprocessor and assemblerH. Peter Anvin (Intel)2020-07-141-381/+376
* | preproc: when parsing a # marker, use C-style string unquotingH. Peter Anvin (Intel)2020-07-131-40/+31
* | BR 3392696: nasm_quote -- fixup callersCyrill Gorcunov2020-07-121-1/+1
* | Revert "BR 3392696: nasm_quote -- fixup callers"H. Peter Anvin2020-07-121-3/+2
* | preproc: add %is...() function-like macrosH. Peter Anvin2020-07-121-14/+48
* | BR 3392696: nasm_quote -- fixup callersCyrill Gorcunov2020-07-111-2/+3
* | preproc: drop preproc_opsH. Peter Anvin (Intel)2020-07-101-31/+14
* | preproc: don't call do_directive recursivelyH. Peter Anvin (Intel)2020-07-101-44/+81
* | error: get rid of ERR_PASS1H. Peter Anvin (Intel)2020-07-101-1/+1
* | preproc: a negative number is actually two tokensH. Peter Anvin (Intel)2020-07-101-3/+14