Browse Source

Refactor code to use the text generator indentation helpers.

pull/1/head
triton 13 years ago
parent
commit
fc0b978878
  1. 6
      src/Generator/Generators/CLI/CLISourcesTemplate.cs

6
src/Generator/Generators/CLI/CLISourcesTemplate.cs

@ -273,13 +273,11 @@ namespace Cxxi.Generators.CLI @@ -273,13 +273,11 @@ namespace Cxxi.Generators.CLI
}
WriteLine(")");
WriteLine("{");
PushIndent();
WriteStartBraceIndent();
GenerateFunctionCall(function);
PopIndent();
WriteLine("}");
WriteCloseBraceIndent();
}
public void GenerateFunctionCall(Function function, Class @class = null)

Loading…
Cancel
Save