vi: remove two globals
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 17 May 2007 16:37:22 +0000 (16:37 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 17 May 2007 16:37:22 +0000 (16:37 -0000)
commitcd5c7866e328b502d946485ad1886ce26cffabfa
treeb0d636908765bba8b8d9bd26d0dd289299d17311
parentc8be5ee325a374525f503d11eccb5da3ee35a509
vi: remove two globals
awk: some 'lineno' vars were shorts, made them ints (code got smaller)
awk: rename global t to global ttt. still an awful name, but at least
     you can grep for it now.

function                                             old     new   delta
ttt                                                    -      28     +28
mysleep                                              104     120     +16
readit                                               408     418     +10
lineno                                                 2       4      +2
parse_program                                        338     339      +1
evaluate                                            6446    6445      -1
syntax_error                                          25      23      -2
next_token                                           917     915      -2
new_node                                              26      24      -2
tv                                                    16       8      -8
skip_spaces                                           68      53     -15
t                                                     28       -     -28
rfds                                                 128       -    -128
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 4/6 up/down: 57/-186)          Total: -129 bytes
editors/awk.c
editors/vi.c