1
0
mirror of https://github.com/golang/go synced 2024-11-19 11:44:45 -07:00

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>
This commit is contained in:
Robert Griesemer 2016-03-11 14:28:16 -08:00
parent e78ff3823e
commit 998b6dd75c
2 changed files with 1185 additions and 1172 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff