diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 20:52:16 -0800 |
---|---|---|
committer | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 20:54:07 -0800 |
commit | 5eac14bb0e5597d2bee902bee3a8ec981fa5ca03 (patch) | |
tree | cd11d3a5886434b672ee10b93bff21caf4c94a8c /tokens.dat | |
parent | 28f95668e070d4cbe81c48f22e0a931e23ab4919 (diff) | |
download | nasm-5eac14bb0e5597d2bee902bee3a8ec981fa5ca03.tar.gz nasm-5eac14bb0e5597d2bee902bee3a8ec981fa5ca03.tar.bz2 nasm-5eac14bb0e5597d2bee902bee3a8ec981fa5ca03.zip |
preproc: Handle curly braces in multi-line macro parameters
Multi-line macro uses curly braces for enclosing a parameter
containing comma(s). Passing curly braces as a part of a parameter
which is already enclosed with braces confuses the macro expander.
The number of braces in a group parameter is counted and any brace
in the outmost enclosing braces is treated as a part of parameter.
e.g.) mmacro {1,2,3}, {4,{5,6}}
mmacro gets 2 parameters of '1,2,3' and '4,{5,6}'
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'tokens.dat')
0 files changed, 0 insertions, 0 deletions