YANG parser BUGFIX counting read lines for log messages
diff --git a/src/parser_yang.c b/src/parser_yang.c
index 3719f12..328da74 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -735,7 +735,7 @@
LOGVAL_YANG(ctx, LYVE_SYNTAX_YANG, "Invalid identifier first character '/'.");
return LY_EVALID;
}
- break;
+ continue;
case '\n':
/* skip whitespaces (optsep) */
++ctx->line;
@@ -957,6 +957,7 @@
case ' ':
case '\t':
/* mandatory "sep" */
+ MOVE_INPUT(ctx, data, 1);
break;
case ':':
/* keyword is not actually a keyword, but prefix of an extension.