1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:50:21 -07:00
go/usr/gri
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
..
gosrc remove uses of *T as an implicit forward declaration of T 2008-10-07 12:59:54 -07:00
pretty Added mechanism for very precise self-testing: 2008-10-18 16:42:25 -07:00