Fix precedence bug

llvm-svn: 38793
This commit is contained in:
Chris Lattner 2006-07-29 07:26:48 +00:00
parent 2641bd549c
commit 07560ed0cf
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ MacroExpander::MacroExpander(LexerToken &Tok, MacroArgs *Actuals,
// If this is a function-like macro, expand the arguments and change
// MacroTokens to point to the expanded tokens.
if (Macro->isFunctionLike() && Macro->getNumArgs() || Macro->isC99Varargs())
if (Macro->isFunctionLike() && (Macro->getNumArgs() || Macro->isC99Varargs()))
ExpandFunctionArguments();
// Mark the macro as currently disabled, so that it is not recursively