summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 02:11:25 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 02:11:25 +0000
commit1fbc909570199c22fb38221e4c6523d798141a15 (patch)
tree5d7152efe8204fd4bde681b3876ad29ec05c1aa2 /editors
parent2e99d43846d41970e67d2299f46aa4723ad37ea0 (diff)
downloadbusybox-w32-1fbc909570199c22fb38221e4c6523d798141a15.tar.gz
busybox-w32-1fbc909570199c22fb38221e4c6523d798141a15.tar.bz2
busybox-w32-1fbc909570199c22fb38221e4c6523d798141a15.zip
Patch from Dmitry Zakharov to fix a bug discovered via the freeswap
script.
Diffstat (limited to 'editors')
-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) {
1211 1211
1212 if (c & TC_GRPSTART) { 1212 if (c & TC_GRPSTART) {
1213 while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) { 1213 while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) {
1214 if (t.tclass & TC_NEWLINE) continue;
1214 rollback_token(); 1215 rollback_token();
1215 chain_group(); 1216 chain_group();
1216 } 1217 }