Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 06:11:25 +0400
committerGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 06:11:25 +0400
commit1fbc909570199c22fb38221e4c6523d798141a15 (patch)
tree5d7152efe8204fd4bde681b3876ad29ec05c1aa2 /editors
parent2e99d43846d41970e67d2299f46aa4723ad37ea0 (diff)
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) {
if (c & TC_GRPSTART) {
while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) {
+ if (t.tclass & TC_NEWLINE) continue;
rollback_token();
chain_group();
}