when at EOF don't try to read further

This commit is contained in:
krangelov
2021-10-01 11:57:31 +02:00
parent ad0832903a
commit 0708f6e0cc
2 changed files with 2 additions and 1 deletions

View File

@@ -363,7 +363,6 @@ void PgfExprParser::token()
switch (ch) {
case EOF:
ch = getc();
token_tag = PGF_TOKEN_EOF;
break;
case '(':