mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
uppsrc: cosmetics: //$- around all Expands
git-svn-id: svn://ultimatepp.org/upp/trunk@8537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7bda84de8c
commit
0d87ac1cd6
13 changed files with 51 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue