From 1fbc909570199c22fb38221e4c6523d798141a15 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 23 Jul 2004 02:11:25 +0000 Subject: Patch from Dmitry Zakharov to fix a bug discovered via the freeswap script. --- editors/awk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'editors/awk.c') diff --git a/editors/awk.c b/editors/awk.c index 9905be092..af8958925 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -1211,6 +1211,7 @@ static void chain_group(void) { if (c & TC_GRPSTART) { while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) { + if (t.tclass & TC_NEWLINE) continue; rollback_token(); chain_group(); } -- cgit v1.2.3