commit | b541af0a3bfc8f8f167f650c9e64f256a992242a | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 18 12:11:23 2019 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 18 12:11:23 2019 +0100 |
tree | af1f7ed5c042bc6b15939e5950f8f60aede0ba88 | |
parent | 294b76d6394eadd35b1b1f6e15244e8f8b8fad81 [diff] [blame] |
compiled schema BUGFIX assign extension definition module Fixes #979
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c index e771f6d..add51fe 100644 --- a/src/tree_schema_compile.c +++ b/src/tree_schema_compile.c
@@ -618,6 +618,7 @@ if (!ctx_sc) { context.ctx = ctx; context.mod = module; + context.mod_def = module; context.path_len = 1; context.path[0] = '/'; ctx_sc = &context;