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>
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 */
};
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