Some more clean up in the preprocessor.

This commit is contained in:
Roberto Raggi
2008-12-22 14:10:47 +01:00
parent e325aa38d9
commit 0422bcbbd5
11 changed files with 164 additions and 64 deletions

View File

@@ -213,12 +213,12 @@ const char *MacroExpander::operator () (const char *__first, const char *__last,
}
Macro *macro = env.resolve (fast_name);
if (! macro || macro->isHidden() || env.hide_next)
if (! macro || macro->isHidden() || env.hideNext)
{
if (fast_name.size () == 7 && fast_name [0] == 'd' && fast_name == "defined")
env.hide_next = true;
env.hideNext = true;
else
env.hide_next = false;
env.hideNext = false;
if (fast_name.size () == 8 && fast_name [0] == '_' && fast_name [1] == '_')
{