mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: vfmt parser.v
This commit is contained in:
@@ -2974,7 +2974,7 @@ fn (mut p Parser) return_stmt() ast.Return {
|
|||||||
p.next()
|
p.next()
|
||||||
// no return
|
// no return
|
||||||
mut comments := p.eat_comments()
|
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{
|
return ast.Return{
|
||||||
comments: comments
|
comments: comments
|
||||||
pos: first_pos
|
pos: first_pos
|
||||||
|
|||||||
Reference in New Issue
Block a user