uppsrc: cosmetics: //$- around all Expands

git-svn-id: svn://ultimatepp.org/upp/trunk@8537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-06-13 18:13:59 +00:00
parent 7bda84de8c
commit 0d87ac1cd6
13 changed files with 51 additions and 13 deletions

View file

@ -164,6 +164,7 @@ void Cpp::DoFlatInclude(const String& header_path)
segment_id.FindAdd(pp.segment_id[i]);
for(int i = 0; i < pp.usings.GetCount(); i++) {
namespace_using.FindAdd(pp.usings[i]);
LLOG("Flat usings " << pp.usings[i]);
md5.Put('$');
md5.Put(pp.usings[i]);
}
@ -253,6 +254,10 @@ void Cpp::Do(const String& sourcefile, Stream& in, const String& currentfile, bo
#endif
while(!in.IsEof()) {
String l = prefix_macro + in.GetLine();
if(l.StartsWith("//$")) { // Do not remove assist++ parser directives
result.Cat(l + "\n");
continue;
}
prefix_macro.Clear();
lineno++;
int el = 0;