awk: skip whitespace between array name and subscript
authorAlexander Shishkin <virtuoso@slind.org>
Thu, 25 Feb 2010 15:55:40 +0000 (17:55 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 26 Feb 2010 07:48:56 +0000 (08:48 +0100)
commitd03cd3be241d38e6edbe5329a53b276eeaa7528e
tree6e5c60bdbb0a655c7ac3a691a9ebef9bcd2b4494
parent2e73d84c02c6dd4945838665ce0167bddbb7f1c8
awk: skip whitespace between array name and subscript

It is supported in both mawk and gawk and there are actually scripts
out there that use this "flexibility".

function                                             old     new   delta
next_token                                          1144    1152      +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0)                 Total: 8 bytes

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