awk: don't get into a infinite loop with eof while in string (thanks BurnZeZ)
This commit is contained in:
@ -363,7 +363,7 @@ int string(void)
|
||||
case 0:
|
||||
SYNTAX( "non-terminated string %.10s...", buf );
|
||||
lineno++;
|
||||
break;
|
||||
RET(0);
|
||||
case '\\':
|
||||
c = input();
|
||||
switch (c) {
|
||||
|
Reference in New Issue
Block a user