]> Cypherpunks repositories - gostls13.git/commit
gc: use correct line number for EOF syntax error
authorAnthony Martin <ality@pbrane.org>
Thu, 26 Apr 2012 09:57:23 +0000 (02:57 -0700)
committerAnthony Martin <ality@pbrane.org>
Thu, 26 Apr 2012 09:57:23 +0000 (02:57 -0700)
commit42aa9abae967b27582e1275793a841bd312d18f4
tree94f4095c218c22743ad3abe9551c74321a4a039b
parent4d3db77c6906d09038e55915653dc98cdf4d66bb
gc: use correct line number for EOF syntax error

I also added some debugging code that's turned
on with -xx.

Fixes #3392.

R=rsc, lvd
CC=golang-dev
https://golang.org/cl/5909058
src/cmd/gc/lex.c
src/cmd/gc/subr.c
test/fixedbugs/bug435.go [new file with mode: 0644]