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(); }