Fixed: [Error with submodules and feature Interaction](https://github.com/clicon/clixon-controller/issues/158)
This commit is contained in:
parent
daaeaa0039
commit
ca695ea386
7 changed files with 143 additions and 56 deletions
|
|
@ -2060,7 +2060,7 @@ ys_parse_sub(yang_stmt *ys,
|
|||
* pass 1 is not yet resolved, only check syntax, actual feature check made in next pass
|
||||
* @see yang_features
|
||||
*/
|
||||
if (yang_subparse(yang_argument_get(ys), ys, YA_IF_FEATURE, filename, yang_linenum_get(ys), NULL, NULL) < 0)
|
||||
if (yang_subparse(NULL, yang_argument_get(ys), ys, YA_IF_FEATURE, filename, yang_linenum_get(ys), NULL) < 0)
|
||||
goto done;
|
||||
break;
|
||||
case Y_AUGMENT: /* If parent is module/submodule: absolute-schema-nodeid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue