dastworx, flush output on exit

This commit is contained in:
Basile Burg 2016-08-23 03:24:21 +02:00
parent 1e45053e54
commit a41fbd6271
6 changed files with 2 additions and 5 deletions

View File

@ -57,7 +57,6 @@ void listFilesImports(string[] files)
writeln('"', mod.moduleDeclaration.moduleName.identifiers writeln('"', mod.moduleDeclaration.moduleName.identifiers
.map!(a => a.text).join("."), '"'); .map!(a => a.text).join("."), '"');
il.visit(mod); il.visit(mod);
stdout.flush;
} }
} }

View File

@ -66,6 +66,7 @@ void main(string[] args)
"s", &handleSymListOption, "s", &handleSymListOption,
"t", &handleTodosOption, "t", &handleTodosOption,
); );
stdout.flush;
} }
/// Handles the "-s" option: create the symbol list in the output /// Handles the "-s" option: create the symbol list in the output

View File

@ -25,7 +25,6 @@ void detectMainFun(const(Module) mod)
MainFunctionDetector mfd = construct!(MainFunctionDetector); MainFunctionDetector mfd = construct!(MainFunctionDetector);
mfd.visit(mod); mfd.visit(mod);
write(mfd.hasMain); write(mfd.hasMain);
stdout.flush;
} }
private final class MainFunctionDetector: ASTVisitor private final class MainFunctionDetector: ASTVisitor

View File

@ -24,7 +24,6 @@ void listSymbols(const(Module) mod, AstErrors errors, bool ddeep = true)
SL sl = construct!(SL); SL sl = construct!(SL);
sl.visit(mod); sl.visit(mod);
sl.serialize.writeln; sl.serialize.writeln;
stdout.flush;
} }
private: private:

View File

@ -26,7 +26,6 @@ void getTodos(string[] files)
} }
stream.put(">end"); stream.put(">end");
writeln(stream.data); writeln(stream.data);
stdout.flush;
} }
private void analyze(const(Token) token, string fname) private void analyze(const(Token) token, string fname)

2
etc/iz

@ -1 +1 @@
Subproject commit 8a42cb50111bb97c78565886b290a0dfab6475bf Subproject commit 5c91b56151ae9c43c083094d1c81df94a4b8d031