Fix macro processing when they have brackets.
This commit is contained in:
parent
a950c3088b
commit
b908dac7c5
|
@ -233,7 +233,10 @@ int macro_primary_expr()
|
|||
else if('(' == macro_token->s[0])
|
||||
{
|
||||
eat_current_token();
|
||||
return macro_expression();
|
||||
hold = macro_expression();
|
||||
require(')' == macro_token->s[0], "missing ) in macro expression\n");
|
||||
eat_current_token();
|
||||
return hold;
|
||||
}
|
||||
else if(match("defined", macro_token->s))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue