ide: Main config is now reading flags from sources

git-svn-id: svn://ultimatepp.org/upp/trunk@16031 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2021-07-22 13:51:46 +00:00
parent 6c97b6bedb
commit fbb02d75f3
13 changed files with 90 additions and 39 deletions

View file

@ -297,6 +297,9 @@ void Cpp::Do(const String& sourcefile, Stream& in, const String& currentfile, bo
segment_id.Add(--segment_serial);
}
}
else
if(p.Id("if") || p.Id("ifdef") || p.Id("ifndef")) // FLAGTEST support
result.Cat(l + "\n");
else {
result.Cat('\n');
#ifdef IGNORE_ELSE