1
0
mirror of https://github.com/golang/go synced 2024-11-26 17:56:55 -07:00
go/usr/gri/pretty
Robert Griesemer e45eb60657 Added mechanism for very precise self-testing:
- in selftest mode (-t) interpret comments of the form /* ERROR */ and /* SYNC */
  and validate reported errors with the error markings in a file
- added initial selftest.go file

Also:
- fixed an issue with empty blocks
- generally report better error messages
- added many more tests to the test script (essentially all .go programs which
  have no syntax errors)

R=r
OCL=17426
CL=17426
2008-10-18 16:42:25 -07:00
..
Makefile - added test script 2008-10-16 19:24:33 -07:00
Makefile.iant - fixed a couple of corner cases (empty statements, empty composites) 2008-10-17 16:19:31 -07:00
node.go - fixed a couple of corner cases (empty statements, empty composites) 2008-10-17 16:19:31 -07:00
parser.go Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00
platform.go - fix for out-of-bounds error found by rsc 2008-09-19 10:56:35 -07:00
pretty.go Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00
printer.go - fixed a couple of corner cases (empty statements, empty composites) 2008-10-17 16:19:31 -07:00
scanner.go Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00
selftest.go Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00
test.sh Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00
utils.go First cut at a Go pretty printer: 2008-09-18 16:58:37 -07:00