commit | c5cc530b77f758f02a52122f7fd41662a9efb364 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Feb 16 10:07:46 2017 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Feb 16 10:07:46 2017 +0100 |
tree | a5b5fe6380c269b1cc9ee34d572b49d06888766e | |
parent | 23751c503961eb96795f726fcbb8c7bd99cf291d [diff] [blame] |
extensions CHANGE support for when statement in extension instances
diff --git a/src/printer_yang.c b/src/printer_yang.c index 783da05..996eeec 100755 --- a/src/printer_yang.c +++ b/src/printer_yang.c
@@ -2187,6 +2187,9 @@ YANG_PRINT_EXTCOMPLEX_STRUCT_M(LY_STMT_RANGE, struct lys_restr, yang_print_restr, "range", ((struct lys_restr *)(*pp))->expr); break; + case LY_STMT_WHEN: + YANG_PRINT_EXTCOMPLEX_STRUCT_M(LY_STMT_WHEN, struct lys_when, yang_print_when); + break; default: /* TODO */ break;