Skip to content

Commit

Permalink
printer yin BUGFIX leftover YANG code (CESNET#2168)
Browse files Browse the repository at this point in the history
when a yin file is printed,"include" close label should be '>' instead of '}'
  • Loading branch information
NextLitete authored Feb 8, 2024
1 parent 4b108e9 commit b34bd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer_yin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ yin_print_parsed_linkage(struct lys_ypr_ctx *pctx, const struct lysp_module *mod
ypr_substmt(pctx, LY_STMT_DESCRIPTION, 0, modp->includes[u].dsc, modp->includes[u].exts);
ypr_substmt(pctx, LY_STMT_REFERENCE, 0, modp->includes[u].ref, modp->includes[u].exts);
LEVEL--;
ly_print_(pctx->out, "%*s}\n", INDENT);
ypr_close(pctx, "include", 1);
} else {
ypr_open(pctx, "include", "module", modp->includes[u].name, -1);
}
Expand Down

0 comments on commit b34bd8a

Please sign in to comment.