commit | 379bb57e39eb351d418578e43df3a2fa766e04e1 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu May 07 03:23:13 2020 +0200 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri May 15 00:20:54 2020 +0200 |
tree | 9a1de9dbcf862867c135a4d2887fe35c378020eb | |
parent | 689854493eff8ead74702667ac7361b67e182a1c [diff] [blame] |
Add support for `empty` YANG leaf type Change-Id: I87eafae9df9accdaa4579ace769996e70da6cb1c
diff --git a/src/libyang_utils.cpp b/src/libyang_utils.cpp index ddb3630..2669151 100644 --- a/src/libyang_utils.cpp +++ b/src/libyang_utils.cpp
@@ -31,6 +31,8 @@ return identityRef_{value->ident()->module()->name(), value->ident()->name()}; case LY_TYPE_BINARY: return binary_{value->binary()}; + case LY_TYPE_EMPTY: + return empty_{}; case LY_TYPE_DEC64: { auto v = value->dec64();