Skip to content

Commit

Permalink
Merge pull request #195 from AsherGlick/cohesive_templates
Browse files Browse the repository at this point in the history
Cohesive Template Names
  • Loading branch information
AsherGlick authored Nov 3, 2023
2 parents be480f2 + 7fb7800 commit bf9badc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xml_converter/generators/code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ def write_attribute(self, output_directory: str) -> None:
metadata: Dict[str, SchemaType] = {}
xml_fields: List[str] = []
template: Dict[str, Template] = {
"MultiflagValue": env.get_template("multiflagvalue.cpp"),
"CompoundValue": env.get_template("compoundvalue.cpp"),
"Enum": env.get_template("enum.cpp"),
"MultiflagValue": env.get_template("attribute_template_multiflagvalue.cpp"),
"CompoundValue": env.get_template("attribute_template_compoundvalue.cpp"),
"Enum": env.get_template("attribute_template_enum.cpp"),
}

for filepath in self.data.keys():
Expand Down

0 comments on commit bf9badc

Please sign in to comment.