parser: make peek_token_after_var_list() private (#14288)
parent
223b96a59a
commit
e2aa5c9b3f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue