1
0
mirror of https://github.com/golang/go synced 2024-11-23 02:10:03 -07:00
go/src/cmd/gotype
Robert Griesemer fa497796f5 go/parser: report illegal label declarations at ':' rather than guessing the start
Also:
- Add parser.SpuriousError flag. If set, the parser reports all (including
  spurious) errors rather then at most one error per line.
- Add -e flag to gofmt and gotype: If set, gofmt and gotype report all
  (including spurious) errors rather than at most one error per line.
- Updated the respective documentation.

Fixes #2088.

R=rsc
CC=golang-dev
https://golang.org/cl/4803047
2011-07-22 09:55:37 -07:00
..
testdata gotype: support for more tests, added one new test 2011-03-30 15:27:23 -07:00
doc.go go/parser: report illegal label declarations at ':' rather than guessing the start 2011-07-22 09:55:37 -07:00
gotype_test.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
gotype.go go/parser: report illegal label declarations at ':' rather than guessing the start 2011-07-22 09:55:37 -07:00
Makefile testing: set up structure for faster testing using the new -test.short flag. 2011-03-25 14:50:44 -07:00