commit | a6c3ac97dc77995a78291284bd2ff81cde0f3996 | [log] [tgz] |
---|---|---|
author | PavolVican <xvican01@stud.fit.vutbr.cz> | Fri Feb 03 13:15:13 2017 +0100 |
committer | PavolVican <xvican01@stud.fit.vutbr.cz> | Fri Feb 03 13:29:26 2017 +0100 |
tree | 78f6c794687ea83951006f0aff786ac770daeebf | |
parent | 214408ff9547ce34cc5d1eeccf944d1fff5d38a1 [diff] [blame] |
parser yang CHANGE support extension in leaf, leaf-list, list statement not supported in substatements
diff --git a/src/parser_yang.c b/src/parser_yang.c index a05b4b1..e333c24 100644 --- a/src/parser_yang.c +++ b/src/parser_yang.c
@@ -2100,6 +2100,9 @@ break; case GROUPING_KEYWORD: case CONTAINER_KEYWORD: + case LEAF_KEYWORD: + case LEAF_LIST_KEYWORD: + case LIST_KEYWORD: ext = &((struct lys_node *)node)->ext; size = &((struct lys_node *)node)->ext_size; parent_type = LYEXT_PAR_NODE;