awk: Syntax error if delete isn't given an arg.
authorBrian Foley <bpfoley@google.com>
Tue, 1 Jan 2019 21:40:59 +0000 (13:40 -0800)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 21 Jan 2019 11:55:49 +0000 (12:55 +0100)
commit08a514c097f1451678940a3178a9565b9d65a193
treef86e7566847b02108eb243ad79f25345e6ba58ec
parentdac15a10accc6921d1559d254ceed9fe9d092ddf
awk: Syntax error if delete isn't given an arg.

Unlike exit and return, delete strictly requires an arg, and derefs a
null pointer if executed without one.

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