mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 18:52:50 -06:00
when at EOF don't try to read further
This commit is contained in:
@@ -363,7 +363,6 @@ void PgfExprParser::token()
|
||||
|
||||
switch (ch) {
|
||||
case EOF:
|
||||
ch = getc();
|
||||
token_tag = PGF_TOKEN_EOF;
|
||||
break;
|
||||
case '(':
|
||||
|
||||
Reference in New Issue
Block a user