schema printers FEATURE print compiled schema as YANG (LYS_OUT_YANG_COMPILED)
diff --git a/src/tree_schema.c b/src/tree_schema.c
index e190763..316f3a3 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -217,8 +217,8 @@
     return feature->flags & LYS_FENABLED ? 1 : 0;
 }
 
-static uint8_t
-iff_getop(uint8_t *list, int pos)
+uint8_t
+lysc_iff_getop(uint8_t *list, int pos)
 {
     uint8_t *item;
     uint8_t mask = 3, result;
@@ -236,7 +236,7 @@
     uint8_t op;
     int a, b;
 
-    op = iff_getop(iff->expr, *index_e);
+    op = lysc_iff_getop(iff->expr, *index_e);
     (*index_e)++;
 
     switch (op) {
@@ -662,7 +662,7 @@
 
     if (!mod->implemented) {
         /* pre-compile features of the module */
-        LY_CHECK_GOTO(lys_feature_precompile(ctx, mod->parsed->features, &mod->off_features), error);
+        LY_CHECK_GOTO(lys_feature_precompile(ctx, mod, mod->parsed->features, &mod->off_features), error);
     }
 
     /* decide the latest revision */
@@ -708,7 +708,7 @@
         }
         if (!mod->implemented) {
             /* pre-compile features of the module */
-            LY_CHECK_GOTO(lys_feature_precompile(ctx, inc->submodule->features, &mod->off_features), error);
+            LY_CHECK_GOTO(lys_feature_precompile(ctx, mod, inc->submodule->features, &mod->off_features), error);
         }
     }
     mod->parsed->parsing = 0;