The leading space flag of a stringized string matches that of the # operator.

llvm-svn: 38713
This commit is contained in:
Chris Lattner 2006-07-15 06:48:02 +00:00
parent c783d1dff9
commit 6016169cb8
1 changed files with 4 additions and 4 deletions

View File

@ -178,14 +178,14 @@ void MacroExpander::ExpandFunctionArguments() {
FormalArgs->getUnexpArgument(ArgNo), PP, true));
}
// FIXME: Should the stringified string leading space flag get set to
// match the # or the identifier?
// The stringified/charified string leading space flag gets set to match
// the #/#@ operator.
if (CurTok.hasLeadingSpace())
ResultToks.back().SetFlag(LexerToken::LeadingSpace);
MadeChange = true;
++i; // Skip arg name.
} else {
// FIXME: handle microsoft charize extension.
ResultToks.push_back(CurTok);
}
}