clean up spacing

This commit is contained in:
David Rose 2002-05-01 23:01:13 +00:00
parent 8ed64f1965
commit f7cf4cbbbd

View File

@ -44,10 +44,11 @@ check_include(const string &line) {
// note: ppremake cant expand cpp #define vars used as include targets yet // note: ppremake cant expand cpp #define vars used as include targets yet
if (p >= line.length() || (line[p] != '"' && line[p] != '<')) { if (p >= line.length() || (line[p] != '"' && line[p] != '<')) {
// it it starts with a capital, assume its a #define var used as include tgt, // if it starts with a capital, assume its a #define var used as
// and dont print a warning // include tgt, and dont print a warning
if(!((line[p]>='A')&&(line[p]<='Z'))) if(!((line[p]>='A')&&(line[p]<='Z'))) {
cerr << "Ignoring invalid #include directive: " << line << "\n"; cerr << "Ignoring invalid #include directive: " << line << "\n";
}
return string(); return string();
} }