Skip to content

Commit

Permalink
Fix NodeTag variant names
Browse files Browse the repository at this point in the history
  • Loading branch information
msepga committed Dec 15, 2023
1 parent e34f500 commit 3a64b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/extract_headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def extract!

# Fixup node tags, as they are included from a different auto-generated file: `nodes/nodetags.h`.
@nodetypes.each_with_index do |name, i|
@enum_defs['nodes/nodes']['NodeTag'][:values] << { name: name, value: i + 1 }
@enum_defs['nodes/nodes']['NodeTag'][:values] << { name: "T_#{name}", value: i + 1 }
end

@struct_defs['nodes/value'] = {}
Expand Down

0 comments on commit 3a64b99

Please sign in to comment.