commit | 79228af0643c9ca4fa6e864a742d2c2d22b03fbf | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 26 14:44:28 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 26 14:44:28 2021 +0200 |
tree | 835cebbfb7769e68d09a9b627913cf093bc9d869 | |
parent | 704f8e995f74cac952eac6448bb8ca15f0b77955 [diff] [blame] |
path BUGFIX support for LYB, same as JSON
diff --git a/src/path.c b/src/path.c index 0f34aa4..94f3d21 100644 --- a/src/path.c +++ b/src/path.c
@@ -437,6 +437,7 @@ *mod = cur_mod; break; case LY_VALUE_JSON: + case LY_VALUE_LYB: if (!prev_ctx_node) { LOGINT_RET(ctx); } @@ -445,7 +446,6 @@ break; case LY_VALUE_CANON: case LY_VALUE_XML: - case LY_VALUE_LYB: /* not really defined or accepted */ LOGINT_RET(ctx); }