awk: do not allow $(-1)
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Apr 2018 08:53:18 +0000 (10:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Apr 2018 08:53:18 +0000 (10:53 +0200)
commit2454e678cb7d241097ee9ce4b2114a136f1b57ec
treee5a3a5667962c73f43ee8024a2a9152fd45b9577
parentc21dfaf836cf0eb5317035bc20395c751a205934
awk: do not allow $(-1)

function                                             old     new   delta
EMSG_NEGATIVE_FIELD                                    -      25     +25
evaluate                                            3390    3403     +13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 38/0)               Total: 38 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/awk.c
testsuite/awk.tests