aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/awk.c1
1 files changed, 1 insertions, 0 deletions
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();
}