Ignore known pragmas.

This commit is contained in:
Hans-Kristian Arntzen 2016-03-26 18:07:59 +01:00
parent 7d5eb2bc27
commit b1bd0f7b7f

View File

@ -115,6 +115,10 @@ static string build_stage_source(const vector<string> &lines, const char *stage)
str << '\n';
}
}
else if (itr->find("#pragma name ") != string::npos)
{
// Ignore
}
else if (active)
str << *itr;
str << '\n';