diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-16 16:45:54 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-16 16:45:54 -0700 |
commit | 415f42078b59ba05f26ecd34a94a9dee8d6a604c (patch) | |
tree | 0f252e0f7443fd1cc8d8101f5b780a26b5f756b9 /src/pkg/regexp/regexp.go | |
parent | 9460e8b0f8eb51248726193c2807b9229c4f269f (diff) | |
download | golang-415f42078b59ba05f26ecd34a94a9dee8d6a604c.tar.gz |
gofmt: more consistent formatting of const/var decls
- gofmt -w src misc
- only manually modified file: src/pkg/go/printer/nodes.go
R=rsc
CC=golang-dev, r
http://codereview.appspot.com/606041
Diffstat (limited to 'src/pkg/regexp/regexp.go')
-rw-r--r-- | src/pkg/regexp/regexp.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/pkg/regexp/regexp.go b/src/pkg/regexp/regexp.go index 216e80516..ecef27178 100644 --- a/src/pkg/regexp/regexp.go +++ b/src/pkg/regexp/regexp.go @@ -82,17 +82,17 @@ type Regexp struct { const ( _START = iota // beginning of program - _END // end of program: success - _BOT // '^' beginning of text - _EOT // '$' end of text - _CHAR // 'a' regular character - _CHARCLASS // [a-z] character class - _ANY // '.' any character including newline - _NOTNL // [^\n] special case: any character but newline - _BRA // '(' parenthesized expression - _EBRA // ')'; end of '(' parenthesized expression - _ALT // '|' alternation - _NOP // do nothing; makes it easy to link without patching + _END // end of program: success + _BOT // '^' beginning of text + _EOT // '$' end of text + _CHAR // 'a' regular character + _CHARCLASS // [a-z] character class + _ANY // '.' any character including newline + _NOTNL // [^\n] special case: any character but newline + _BRA // '(' parenthesized expression + _EBRA // ')'; end of '(' parenthesized expression + _ALT // '|' alternation + _NOP // do nothing; makes it easy to link without patching ) // --- START start of program |