From: anonymous c. <nas...@us...> - 2013-08-25 19:11:10
|
> 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. > > Escape character '\' is prefixed in this case. > 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...@in...> Yes, curly braces inside mmac params should be handled properly. But no, you really do not want to introduce backslash escaping -- it breaks existing code that has backslashes in mmac params. Also, there is no need to mess around with the curly brace code of the preprocessor when it comes to AVX-512 -- the preprocessor has no concept of {xxx} modifiers; from its perspective that's just a curly brace, followed by xxx, followed by another curly brace. Only the (assembler's) parser needs to understand {xxx} modifiers, and it's really trivial to handle them there. |