]> Cypherpunks repositories - gostls13.git/commit
- remove special handling of '\n' characters (used to be treated as comments
authorRobert Griesemer <gri@golang.org>
Thu, 12 Mar 2009 18:04:11 +0000 (11:04 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 12 Mar 2009 18:04:11 +0000 (11:04 -0700)
commit6f321e28f48c12e7dd9830198daefc2a8cfb410b
tree12876cba27862dbeb82fbbd4df253d5ea8f52892
parent02827193872641250d6f52944fbdb2c22d17d481
- remove special handling of '\n' characters (used to be treated as comments
for pretty printer purposes - now properly ignored as white space since we
have line/col information)
- changed sample use in comment to an actually compiled function to make sure
sample is actually working
- added extra tests (checking line and column values, and the tokenize function)

R=rsc
DELTA=253  (61 added, 67 deleted, 125 changed)
OCL=26143
CL=26181
src/lib/go/scanner.go
src/lib/go/scanner_test.go