blynn / nex

Lexer for Go
http://cs.stanford.edu/~blynn/nex/
GNU General Public License v3.0
416 stars 47 forks source link

prepare main() for separation from lib portion of code #30

Closed drewwells closed 8 years ago

drewwells commented 8 years ago

switched flags to XXXVar(pointer) so the dereferences aren't necessary

Moves main() away from the rest of the code. This is helpful so that the rest of code can be turned into self-contained packages if desired.