schema parser BUGFIX propagating included and imported modules into main module structure
The included/imported modules were reflected in the main module too late,
which could lead to a duplicated include of some submodule.
diff --git a/src/parser.h b/src/parser.h
index 0999b78..1c7da7c 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -103,11 +103,11 @@
* @brief Propagate imports and includes into the main module
*
* @param module Main module
- * @param submodule
+ * @param inc Filled include structure
* @param line
* @return 0 for success, 1 for failure
*/
-int lyp_propagate_submodule(struct lys_module *module, struct lys_submodule *submodule);
+int lyp_propagate_submodule(struct lys_module *module, struct lys_include *inc);
int lyp_ctx_add_module(struct lys_module **module);