refactor ninja main() into a struct with methods
authorEvan Martin <martine@danga.com>
Fri, 24 May 2013 23:32:49 +0000 (16:32 -0700)
committerEvan Martin <martine@danga.com>
Fri, 24 May 2013 23:33:50 +0000 (16:33 -0700)
commitcc47bfb1ce599f4b3f20679d96e258bb595c2dc3
treed3475129e3251a10d7c9d1c83cabde3794cb628f
parent32e707e5e9bf6c29ea80b70ec2d00091a5f8bb60
refactor ninja main() into a struct with methods

This removes the ugly Globals struct, and the ResetState() hack.
This also eliminates the only goto!
src/ninja.cc