ash: [PARSER] Size optimisations in parameter expansion parser
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Oct 2016 14:41:13 +0000 (16:41 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Oct 2016 14:41:13 +0000 (16:41 +0200)
commit3df1410a00a7a57f3a43373c00cdea2031d7d70c
tree39860518a919b8e52cbca84cc34eab6ef125a618
parent350e686f3b04f41f623316706094f0e18a10c1cf
ash: [PARSER] Size optimisations in parameter expansion parser

Upstream commit:

    Date: Thu, 4 Oct 2007 22:20:38 +0800
    [PARSER] Size optimisations in parameter expansion parser

    Merge flags into subtype.
    Do not write subtype out twice.
    Add likely flag on ${ vs. $NAME.
    Kill unnecessary (and bogus) PEOA check.

function                                             old     new   delta
readtoken1                                          2891    2860     -31

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c