Skip to content

Commit

Permalink
deleted comments, will fix header file generation filepath in next patch
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseZhang03 committed Jul 12, 2024
1 parent bf4d973 commit 9026b83
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions libc/newhdrgen/yaml_to_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,6 @@ def main(yaml_file, h_def_file, output_dir, add_function=None):
output_file_name = Path(h_def_file).stem
output_file_path = Path(output_dir) / output_file_name

# with open(yaml_file, "r") as f:
# yaml_data = yaml.safe_load(f)

# header_name = yaml_data[header]
# if len(header_name) >= 6 and header_name[0:4] == "sys-":
# output_file_path = Path(output_dir) / sys / output_file_name
# or maybe:
# output_file_path = Path(other_output_dir) / output_file_name

with open(output_file_path, "w") as f:
f.write(final_header_content)

Expand Down

0 comments on commit 9026b83

Please sign in to comment.