Skip to content

Commit 345c624

Browse files
committed
commands after variables
1 parent e2efb5c commit 345c624

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/printer_tree.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4029,10 +4029,6 @@ static void
40294029
pt_print_augment_structure(struct pt_tree_ctx tc)
40304030
{
40314031
struct pt_ext_tree_schema schema = {0};
4032-
4033-
tc.section = PT_SECT_PLUG_DATA;
4034-
tc.plugin_ctx.schema = &schema;
4035-
40364032
ly_bool once = 1;
40374033
LY_ARRAY_COUNT_TYPE i = 0;
40384034
struct pt_keyword_stmt ks = PT_EMPTY_KEYWORD_STMT;
@@ -4042,6 +4038,8 @@ pt_print_augment_structure(struct pt_tree_ctx tc)
40424038
void **storage;
40434039
ly_bool origin_lysc_tree = tc.lysc_tree;
40444040

4041+
tc.section = PT_SECT_PLUG_DATA;
4042+
tc.plugin_ctx.schema = &schema;
40454043
tc.plugin_ctx.schema->ext = PT_EXT_AUG_STRUCTURE;
40464044
ks.section_name = "augment-structure";
40474045

0 commit comments

Comments
 (0)