We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2efb5c commit 345c624Copy full SHA for 345c624
src/printer_tree.c
@@ -4029,10 +4029,6 @@ static void
4029
pt_print_augment_structure(struct pt_tree_ctx tc)
4030
{
4031
struct pt_ext_tree_schema schema = {0};
4032
-
4033
- tc.section = PT_SECT_PLUG_DATA;
4034
- tc.plugin_ctx.schema = &schema;
4035
4036
ly_bool once = 1;
4037
LY_ARRAY_COUNT_TYPE i = 0;
4038
struct pt_keyword_stmt ks = PT_EMPTY_KEYWORD_STMT;
@@ -4042,6 +4038,8 @@ pt_print_augment_structure(struct pt_tree_ctx tc)
4042
void **storage;
4043
4039
ly_bool origin_lysc_tree = tc.lysc_tree;
4044
4040
4041
+ tc.section = PT_SECT_PLUG_DATA;
+ tc.plugin_ctx.schema = &schema;
4045
tc.plugin_ctx.schema->ext = PT_EXT_AUG_STRUCTURE;
4046
ks.section_name = "augment-structure";
4047
0 commit comments