From 1d92494f45c0adea7f42490f19d0fbb47ccff541 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 7 Aug 2013 01:41:56 +0000 Subject: [PATCH] Fixed indentation --- main.d | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/main.d b/main.d index a8432c1..9a2efd0 100644 --- a/main.d +++ b/main.d @@ -105,9 +105,9 @@ int main(string[] args) } else stdout.printCtags(args[1 .. $]); - } + } else - { + { LexerConfig config; bool usingStdin = args.length == 3; @@ -118,7 +118,7 @@ int main(string[] args) auto tokens = byToken(bytes, config); if (sloc) - { + { printLineCount(stdout, tokens); } else if (tokenCount) @@ -130,7 +130,7 @@ int main(string[] args) parseModule(tokens.array(), config.fileName); } else if (imports) - { + { auto mod = parseModule(tokens.array(), config.fileName); auto visitor = new ImportPrinter; visitor.visit(mod); @@ -141,9 +141,8 @@ int main(string[] args) auto printer = new XMLPrinter; printer.output = stdout; printer.visit(mod); - } + } } - return 0; }