ci: vfmt parser.v

pull/12318/head
Delyan Angelov 2021-10-28 10:51:55 +03:00
parent 1b6cccaf6d
commit b1bb1d361a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -2974,7 +2974,7 @@ fn (mut p Parser) return_stmt() ast.Return {
p.next()
// no return
mut comments := p.eat_comments()
if p.tok.kind == .rcbr || ( p.tok.kind == .name && p.peek_tok.kind == .colon ) {
if p.tok.kind == .rcbr || (p.tok.kind == .name && p.peek_tok.kind == .colon) {
return ast.Return{
comments: comments
pos: first_pos