parser: make peek_token_after_var_list() private (#14288)

yuyi 2022-05-05 00:25:45 +08:00 committed by Jef Roosens
parent 499892bab8
commit 6cf707261d
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ pub fn (p &Parser) peek_token(n int) token.Token {
} }
// peek token in if guard `if x,y := opt()` after var_list `x,y` // peek token in if guard `if x,y := opt()` after var_list `x,y`
pub fn (p &Parser) peek_token_after_var_list() token.Token { fn (p &Parser) peek_token_after_var_list() token.Token {
mut n := 0 mut n := 0
mut tok := p.tok mut tok := p.tok
for { for {