Fixed vet error 'syntax/ast/parser.go:86: unreachable code'

This commit is contained in:
Steve Kamerman 2018-09-26 16:56:27 -04:00
parent f756513aec
commit a88b7fbdd7
No known key found for this signature in database
GPG Key ID: D39F3EEFC1837DF1
1 changed files with 0 additions and 1 deletions

View File

@ -83,7 +83,6 @@ func parserMain(tree *Node, lex Lexer) (parseFn, *Node, error) {
return nil, tree, fmt.Errorf("unexpected token: %s", token)
}
}
return nil, tree, fmt.Errorf("unknown error")
}
func parserRange(tree *Node, lex Lexer) (parseFn, *Node, error) {