]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move lexer into separate file (cleanup)
authorRobert Griesemer <gri@golang.org>
Fri, 11 Mar 2016 22:28:16 +0000 (14:28 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 11 Mar 2016 22:59:57 +0000 (22:59 +0000)
commit998b6dd75cf205b37a3f145bc93c50e44150af2c
tree0b0f194e2caf8f951b9e47c15cb4dffe15df8b71
parente78ff3823eac5cd79bbfb1e6b722699d592f3c6a
cmd/compile: move lexer into separate file (cleanup)

This is really moving all the non-lexer pieces out of lex.go
into main.go. It's always been confusing that the top-most
compiler entry point (Main) is in the same file with the
lexer. Both files remain of substantial size (> 1000 lines),
which justifies this even more.

No other changes.

Change-Id: I03895589d5e3cc2340580350bbc1420539893dfc
Reviewed-on: https://go-review.googlesource.com/20601
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/lex.go
src/cmd/compile/internal/gc/main.go [new file with mode: 0644]