]> Cypherpunks repositories - gostls13.git/commit
* pretty printing snapshot: towards printing comments nicely
authorRobert Griesemer <gri@golang.org>
Fri, 14 Nov 2008 01:50:46 +0000 (17:50 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 14 Nov 2008 01:50:46 +0000 (17:50 -0800)
commit3c2f0ae13294d2b818a28f98df372c9848fc1454
tree9cdb0d3e2444ac6cba7949e3d59cb689bebd5d0c
parente2621b80374f74f07cd7e7c9265e2d20b242bdae
* pretty printing snapshot: towards printing comments nicely
- implemented elastic tabstops algorithm, now correct and documented
- first cut at printing comments (use -comments flag, disabled for now)
- struct field types are now aligned (using elastic tab stops)
- needs more fine-tuning

* fixed a bug in test script
* added quick smoke test to makefile and invoke it in run.bash
  instead of the full test

R=r
OCL=19220
CL=19220
src/run.bash
usr/gri/pretty/Makefile
usr/gri/pretty/ast.go
usr/gri/pretty/parser.go
usr/gri/pretty/printer.go
usr/gri/pretty/scanner.go
usr/gri/pretty/selftest2.go [new file with mode: 0644]
usr/gri/pretty/test.sh