1
0
mirror of https://github.com/golang/go synced 2024-10-04 00:11:21 -06:00
go/usr/gri
Robert Griesemer d79f687ed8 - collect addition source position information in parser
for end of declarations, blocks, parameter lists, etc.
- use extra src positions to more accurately print comments
- fine-tuned low-level printing routine for comments
- added better debugging support

Status:
- comments now appear at the right place (inbetween the right tokens)
- newline control needs improvement (not very hard)
- comment printing disabled for now because pretty is not idempotent
with it; to enable: -comments

R=r
OCL=20079
CL=20079
2008-11-26 17:07:45 -08:00
..
gosrc - removed double-declaration of len() 2008-10-20 12:51:18 -07:00
pretty - collect addition source position information in parser 2008-11-26 17:07:45 -08:00