gofmt pass

This commit is contained in:
eanderton
2014-09-09 04:09:36 -04:00
parent 12e974f892
commit 7f30fba1e6
7 changed files with 548 additions and 551 deletions
+8 -8
View File
@@ -80,11 +80,11 @@ func (tt tokenType) String() string {
}
func (t token) Int() int {
if result, err := strconv.Atoi(t.val); err != nil {
panic(err)
} else {
return result
}
if result, err := strconv.Atoi(t.val); err != nil {
panic(err)
} else {
return result
}
}
func (t token) String() string {
@@ -291,10 +291,10 @@ func lexVoid(l *lexer) stateFn {
return lexString
}
if isSpace(next) {
if isSpace(next) {
l.next()
l.ignore()
continue
l.ignore()
continue
}
if isAlphanumeric(next) {