diff options
author | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
commit | 9c0b2f7020d7c30b21a930ef54be632e092e533b (patch) | |
tree | b2187c40bd2fd9f49f73599fb08e52cb7a596de0 /editors/awk.c | |
parent | a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7 (diff) | |
parent | d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff) | |
download | busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.gz busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.bz2 busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c index 76385f33b..509f4ddd8 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -1363,8 +1363,10 @@ static node *parse_expr(uint32_t iexp) | |||
1363 | v = cn->l.v = xzalloc(sizeof(var)); | 1363 | v = cn->l.v = xzalloc(sizeof(var)); |
1364 | if (tc & TC_NUMBER) | 1364 | if (tc & TC_NUMBER) |
1365 | setvar_i(v, t_double); | 1365 | setvar_i(v, t_double); |
1366 | else | 1366 | else { |
1367 | setvar_s(v, t_string); | 1367 | setvar_s(v, t_string); |
1368 | xtc &= ~TC_UOPPOST; /* "str"++ is not allowed */ | ||
1369 | } | ||
1368 | break; | 1370 | break; |
1369 | 1371 | ||
1370 | case TC_REGEXP: | 1372 | case TC_REGEXP: |