ignore #undef statements for now

svn path=/trunk/; revision=6640
This commit is contained in:
Royce Mitchell III 2003-11-13 21:14:20 +00:00
parent b1fc831113
commit 5822ae79d0

View file

@ -267,6 +267,10 @@ void process_preprocessor ( const char* filename, Header& h, const string& eleme
h.symbols.push_back ( s );
}
else if ( preproc == "undef" )
{
// safely ignoreable for now, I think
}
else if ( preproc == "if" || preproc == "ifdef" || preproc == "ifndef" )
{
size_t len = element.size();