schema BUGFIX enable forgotten support for searching YIN schemas
When loading schema or searching for import modules.
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 4236cc6..44c2213 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -1401,10 +1401,8 @@
flen = strlen(file->d_name);
if (!strcmp(&file->d_name[flen - 5], ".yang")) {
format_aux = LYS_IN_YANG;
- /* TODO YIN parser
- } else if (!strcmp(&file->d_name[flen - 4], ".yin")) {
- format_aux = LYS_IN_YIN;
- */
+ } else if (!strcmp(&file->d_name[flen - 4], ".yin")) {
+ format_aux = LYS_IN_YIN;
} else {
/* not supportde suffix/file format */
continue;