Skip to content

Commit

Permalink
Merge pull request #200 from BBasile/BBasile-ddemangleflush
Browse files Browse the repository at this point in the history
ddemangle, flush output for each new demangled line
  • Loading branch information
CyberShadow committed Sep 21, 2016
2 parents 977d17f + 420ea97 commit 8d5d7e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddemangle.d
Expand Up @@ -109,7 +109,10 @@ void main(string[] args)
{
auto f = (args.length==2) ? File(args[1], "r") : stdin;
foreach (line; f.byLine())
{
writeln(ddemangle(line));
stdout.flush;
}
}
catch(Exception e)
{
Expand Down

0 comments on commit 8d5d7e4

Please sign in to comment.