]> Cypherpunks repositories - gostls13.git/commit
- added Filename field to token.Position
authorRobert Griesemer <gri@golang.org>
Tue, 14 Jul 2009 17:44:57 +0000 (10:44 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 14 Jul 2009 17:44:57 +0000 (10:44 -0700)
commit14228f3898d5e4d6142101b207b02e7be42e8bfe
tree958b37c128124281cf2faae1191a55e15db02124
parent10e995fba82857c56ee2c938184b98a63fd79802
- added Filename field to token.Position
- handle //line filename:line comments in scanner
- moved error handling code used by various scanner clients
  to errors.go
- added extra tests

R=rsc
DELTA=385  (343 added, 18 deleted, 24 changed)
OCL=31551
CL=31601
src/pkg/go/scanner/Makefile
src/pkg/go/scanner/errors.go [new file with mode: 0644]
src/pkg/go/scanner/scanner.go
src/pkg/go/scanner/scanner_test.go
src/pkg/go/token/token.go