YANG parser BUGFIX handling empty ('') text arguments.
diff --git a/src/parser_yang.c b/src/parser_yang.c
index 328da74..3d3421d 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -1135,6 +1135,11 @@
     /* get value */
     LY_CHECK_RET(get_argument(ctx, data, arg, NULL, &word, &buf, &word_len));
 
+    if (!word_len) {
+        /* empty value */
+        word = "";
+    }
+
     /* store value and spend buf if allocated */
     INSERT_WORD(ctx, buf, *value, word, word_len);