awk: don't get into a infinite loop with eof while in string (thanks BurnZeZ)

This commit is contained in:
Giacomo Tesio 2017-08-11 05:51:10 +02:00
parent d9975caeb0
commit 330b7cc217
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ int string(void)
case 0:
SYNTAX( "non-terminated string %.10s...", buf );
lineno++;
break;
RET(0);
case '\\':
c = input();
switch (c) {