commit | 73c88f5cff1829195ca8091cde43d99bb557516e | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Fri Jun 14 16:24:19 2019 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Fri Jun 14 16:24:19 2019 +0200 |
tree | 9537c620e77f3c0eb655b92296081a807ef6e6d4 | |
parent | f09e4e8330ce8dfbf40d4c8e7ec40ff35fd1881f [diff] [blame] |
YANG printer BUGFIX unterminated key-stmt argument in compiled output
diff --git a/src/printer_yang.c b/src/printer_yang.c index f002b32..7b64084 100755 --- a/src/printer_yang.c +++ b/src/printer_yang.c
@@ -1714,7 +1714,7 @@ LY_ARRAY_FOR(list->keys, u) { ly_print(ctx->out, "%s%s", u > 0 ? ", " : "", list->keys[u]->name); } - ypr_close(ctx, 0); + ly_print(ctx->out, "\";\n"); } LY_ARRAY_FOR(list->uniques, u) { ypr_open(ctx->out, &flag);