commit | 1fbc909570199c22fb38221e4c6523d798141a15 | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Fri Jul 23 02:11:25 2004 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Fri Jul 23 02:11:25 2004 +0000 |
tree | 5d7152efe8204fd4bde681b3876ad29ec05c1aa2 | |
parent | 2e99d43846d41970e67d2299f46aa4723ad37ea0 [diff] [blame] |
Patch from Dmitry Zakharov to fix a bug discovered via the freeswap script.
diff --git a/editors/awk.c b/editors/awk.c index 9905be0..af89589 100644 --- a/editors/awk.c +++ b/editors/awk.c
@@ -1211,6 +1211,7 @@ if (c & TC_GRPSTART) { while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) { + if (t.tclass & TC_NEWLINE) continue; rollback_token(); chain_group(); }