diff options
author | Ron Yorston <rmy@pobox.com> | 2016-10-26 10:32:18 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-10-26 10:32:18 +0100 |
commit | 94eac583b29d56a28bf18d41f56ecb2a9d0bd336 (patch) | |
tree | ff7f398db61a851d5e0af51a92004207707acfab /editors | |
parent | 418f43bea899493bb70a6eec6429b3de412be6e7 (diff) | |
parent | a513bf3c3ce0756c991b21c0ca271e24fedcdb51 (diff) | |
download | busybox-w32-94eac583b29d56a28bf18d41f56ecb2a9d0bd336.tar.gz busybox-w32-94eac583b29d56a28bf18d41f56ecb2a9d0bd336.tar.bz2 busybox-w32-94eac583b29d56a28bf18d41f56ecb2a9d0bd336.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c index de3362cff..84ba125cd 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -1518,7 +1518,7 @@ static void chain_group(void) | |||
1518 | next_token(TC_SEQSTART); | 1518 | next_token(TC_SEQSTART); |
1519 | n2 = parse_expr(TC_SEMICOL | TC_SEQTERM); | 1519 | n2 = parse_expr(TC_SEMICOL | TC_SEQTERM); |
1520 | if (t_tclass & TC_SEQTERM) { /* for-in */ | 1520 | if (t_tclass & TC_SEQTERM) { /* for-in */ |
1521 | if ((n2->info & OPCLSMASK) != OC_IN) | 1521 | if (!n2 || (n2->info & OPCLSMASK) != OC_IN) |
1522 | syntax_error(EMSG_UNEXP_TOKEN); | 1522 | syntax_error(EMSG_UNEXP_TOKEN); |
1523 | n = chain_node(OC_WALKINIT | VV); | 1523 | n = chain_node(OC_WALKINIT | VV); |
1524 | n->l.n = n2->l.n; | 1524 | n->l.n = n2->l.n; |