diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 20:23:53 -0800 |
---|---|---|
committer | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 20:23:53 -0800 |
commit | 28f95668e070d4cbe81c48f22e0a931e23ab4919 (patch) | |
tree | f2077d0e1f6bfd6f3be09e11961f7f36d3497a39 | |
parent | 487f352b6222c79fd6c719d2c00ab6087c6b6b3c (diff) | |
download | nasm-28f95668e070d4cbe81c48f22e0a931e23ab4919.tar.gz nasm-28f95668e070d4cbe81c48f22e0a931e23ab4919.tar.bz2 nasm-28f95668e070d4cbe81c48f22e0a931e23ab4919.zip |
Revert "AVX-512: Handle curly braces in multi-line macro parameters"
This reverts commit a800aed7b75d56114f2e1e4928cbc48ecf96a4a0.
As recommended by the community, braces inside a group parameter
of multi-line macro should be parsed without a need of a leading
escape character such as "\{ab,c\}".
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
-rw-r--r-- | preproc.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -208,7 +208,6 @@ enum pp_token_type { TOK_PREPROC_Q, TOK_PREPROC_QQ, TOK_PASTE, /* %+ */ TOK_INDIRECT, /* %[...] */ - TOK_BRACE, /* \{...\} */ TOK_SMAC_PARAM, /* MUST BE LAST IN THE LIST!!! */ TOK_MAX = INT_MAX /* Keep compiler from reducing the range */ }; @@ -1104,10 +1103,6 @@ static Token *tokenize(char *line) type = TOK_COMMENT; while (*p) p++; - } else if (p[0] == '\\' && (p[1] == '{' || p[1] == '}')) { - type = TOK_BRACE; - p += 2; - line++; } else { /* * Anything else is an operator of some kind. We check |