1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:21:21 -06:00
go/src/pkg/ebnf
Robert Griesemer d812e8c994 go/printer, gofmt: smarter handling of multi-line raw strings
If a multi-line raw string is the first token on a line, it
should not be indented because the following lines (belonging
to the raw string) are not indented either.

Adjusted src of ebnf/ebnf_test.go manually as it now is formatted
as expected.

gofmt -w src misc

Fixes #1072.

R=r
CC=golang-dev
https://golang.org/cl/4119056
2011-02-04 17:34:16 -08:00
..
ebnf_test.go go/printer, gofmt: smarter handling of multi-line raw strings 2011-02-04 17:34:16 -08:00
ebnf.go go/ast: use token.Pos instead of token.Position; adjust all dependent code 2010-12-06 14:23:18 -08:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
parser.go go/scanner: Make Init take a *token.File instead of a *token.FileSet. 2011-01-13 17:20:26 -08:00