1
0
mirror of https://github.com/golang/go synced 2024-11-13 19:50:21 -07:00
go/src/cmd
Robert Griesemer 662ab8be31 cmd/compile/internal/gc: add dropped line correction again
The line correction when reporting a missing package clause
was removed before since it wasn't clear that it was needed.
Added it again because of issue 13267.

No explicit test case has been added to test/fixedbugs because
it would require a file that contains a single byte and such a
file doesn't fit the existing test harness. Instead documented
the problematic line in the parser for future reference.

Fixes #13267.

Change-Id: I590fe8f358042aab73acf16c2ed9567872b174f4
Reviewed-on: https://go-review.googlesource.com/16975
Reviewed-by: Chris Manghane <cmang@golang.org>
2015-11-17 01:06:11 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api net/http: enable automatic HTTP/2 if TLSNextProto is nil 2015-10-14 23:21:57 +00:00
asm cmd/asm: added support for GOARCH=mips64{,le} 2015-11-12 04:43:42 +00:00
cgo cmd/cgo: added support for GOARCH=mips64{,le} 2015-11-12 04:45:54 +00:00
compile cmd/compile/internal/gc: add dropped line correction again 2015-11-17 01:06:11 +00:00
cover all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
dist cmd/dist: check more GOOS/GOARCH combinations in mkdeps.bash 2015-11-16 18:34:48 +00:00
doc cmd/doc: fix pretty printing of paths 2015-09-29 02:18:57 +00:00
fix cmd/fix: add gotypes module 2015-07-17 01:47:14 +00:00
go cmd/go: set buildmode=pie default for android/arm64. 2015-11-16 18:32:57 +00:00
gofmt go/format: handle whitespace-only input correctly 2015-09-30 16:39:43 +00:00
internal cmd/internal/obj, cmd/link: access global data via a GOT in -dynlink mode on arm64 2015-11-15 23:40:22 +00:00
link cmd/link: work around arm64 linker bugs with GOT relocations against local symbols 2015-11-15 23:40:59 +00:00
newlink cmd/internal/obj/mips: added support for GOARCH=mips64{,le} 2015-11-12 04:42:44 +00:00
nm all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix race between viewer and web command 2015-07-23 03:51:39 +00:00
trace cmd/trace: don't fail when no browser is available 2015-08-21 20:02:23 +00:00
vendor cmd/vendor/golang.org/x/arch: import arm/armasm and x86/x86asm 2015-08-28 16:34:30 +00:00
vet cmd/vet: use testenv 2015-11-04 15:59:10 +00:00
yacc cmd/yacc: fix copying action code when line comment is disabled 2015-10-04 01:36:03 +00:00