gc: improved syntax errors
* example-based syntax errors (go.errors) * enable bison's more specific errors and translate grammar token names into tokens like ++ * test cases R=ken2, r, ken3 CC=golang-dev https://golang.org/cl/194085
Showing
src/cmd/gc/bisonerrors
0 → 100755
src/cmd/gc/go.errors
0 → 100644
test/syntax/forvar.go
0 → 100644
test/syntax/import.go
0 → 100644
test/syntax/interface.go
0 → 100644
test/syntax/semi1.go
0 → 100644
test/syntax/semi2.go
0 → 100644
test/syntax/semi3.go
0 → 100644
test/syntax/semi4.go
0 → 100644
test/syntax/semi5.go
0 → 100644
test/syntax/semi6.go
0 → 100644
test/syntax/semi7.go
0 → 100644
test/syntax/slice.go
0 → 100644
Please
register
or
sign in
to comment