printer tree FEATURE printing subtree or node
Function tree_print_compiled_node is now implemented.
diff --git a/src/printer_schema.c b/src/printer_schema.c
index 4b8fed8..27853f5 100644
--- a/src/printer_schema.c
+++ b/src/printer_schema.c
@@ -191,7 +191,7 @@
}
API LY_ERR
-lys_print_node(struct ly_out *out, const struct lysc_node *node, LYS_OUTFORMAT format, size_t UNUSED(line_length), uint32_t options)
+lys_print_node(struct ly_out *out, const struct lysc_node *node, LYS_OUTFORMAT format, size_t line_length, uint32_t options)
{
LY_ERR ret;
@@ -208,10 +208,10 @@
case LYS_OUT_YIN:
ret = yin_print_parsed(out, module);
break;
+ */
case LYS_OUT_TREE:
ret = tree_print_compiled_node(out, node, options, line_length);
break;
- */
default:
LOGERR(NULL, LY_EINVAL, "Unsupported output format.");
ret = LY_EINVAL;