diff --git a/src/main.c b/src/main.c index 40ebaa6e..fc98ad15 100644 --- a/src/main.c +++ b/src/main.c @@ -474,6 +474,9 @@ int ParseChar(ParsePtr p, int *err, int peek) DestroyParser(p); return 0; } + while(*p->pos && (isempty(*p->pos))) { + p->pos++; + } if (*p->pos != END_OF_EXPR) { *err = E_MISS_END; DestroyParser(p);