aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-02-26 02:10:29 -0800
committerMatthew Dempsky <mdempsky@google.com>2016-02-27 01:02:25 +0000
commit52f099c4263f2ffd1cda777d7f6ed9689bb481a5 (patch)
treeb1a762536da83f5e874de61a73429949445c85ca /src/debug
parent188e3d251507adb1b2910b49a091c7ba594819b6 (diff)
downloadgo-52f099c4263f2ffd1cda777d7f6ed9689bb481a5.tar.xz
cmd/compile: simplify lexinit and lexfini
Split the syms array into separate basicTypes and builtinFuncs arrays. Also, in lexfini, instead of duplicating the code from lexinit to declare the builtin identifiers in the user package, just import them from builtinpkg like how importdot works. Change-Id: Ic3b3b454627a46f7bd5f290d0e31443e659d431f Reviewed-on: https://go-review.googlesource.com/19936 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions