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