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

This commit is contained in:
cinap_lenrek 2017-08-11 03:38:10 +02:00
parent 6b999263ae
commit 3f9d5e4a4f

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) {