awk: improve nadling of negative numbers in bitwise ops;
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 2 Sep 2008 09:00:23 +0000 (09:00 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 2 Sep 2008 09:00:23 +0000 (09:00 -0000)
commita2e1eea189981e03b2590c2cd59b9ae65a9cea4f
treeb60ca60a9413444dd2847c320eaa38ea0ec00e93
parentb424930e4ea971ff8675c30d5dc4445c173b2b1a
awk: improve nadling of negative numbers in bitwise ops;
 fix handling of octal costants. add test for it

function                                             old     new   delta
getvar_i_int                                           -      93     +93
my_strtod                                              -      84     +84
qrealloc                                              33      36      +3
getvar_i                                              99      95      -4
next_token                                           979     919     -60
evaluate                                            6359    5627    -732
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/3 up/down: 180/-796)         Total: -616 bytes
editors/awk.c
testsuite/awk.tests