Browse Source

Check for ignored variables before generation.

pull/1/head
triton 12 years ago
parent
commit
086f1d2cec
  1. 3
      src/Generator/Generators/CLI/CLISourcesTemplate.cs

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

@ -158,6 +158,9 @@ namespace Cxxi.Generators.CLI
foreach (var variable in @class.Variables) foreach (var variable in @class.Variables)
{ {
if (variable.Ignore)
continue;
GenerateDeclarationCommon(variable); GenerateDeclarationCommon(variable);
GenerateVariable(variable, @class); GenerateVariable(variable, @class);
} }

Loading…
Cancel
Save