printers FEATURE submodule print
Also some refactorization included,
which consists mostly of removing
compiled import structure as it is
not needed in a compiled module and
is not even really viable because
of submodules.
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index 3eef135..2b49ee6 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -780,7 +780,7 @@
if (u) {
ly_print(out, "\n");
}
- lys_print(out, (struct lys_module *)mods->objs[u], outformat_s, outline_length_s, outoptions_s);
+ lys_print_module(out, (struct lys_module *)mods->objs[u], outformat_s, outline_length_s, outoptions_s);
}
}
} else if (data) {