mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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 https://golang.org/cl/606041
This commit is contained in:
parent
74fac99d05
commit
53f3d0733c
16 changed files with 138 additions and 88 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue