YANG parser BUGFIX processing keywords (checking their end)
diff --git a/src/parser_yang.c b/src/parser_yang.c
index 3d3421d..9cc2bac 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -952,12 +952,9 @@
/* make sure we have the whole keyword */
switch (**data) {
case '\n':
- ++ctx->line;
- /* fallthrough */
- case ' ':
case '\t':
- /* mandatory "sep" */
- MOVE_INPUT(ctx, data, 1);
+ case ' ':
+ /* mandatory "sep" is just checked, not eaten so nothing in the context is updated */
break;
case ':':
/* keyword is not actually a keyword, but prefix of an extension.