1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: make peek_token_after_var_list() private (#14288)

This commit is contained in:
yuyi 2022-05-05 00:25:45 +08:00 committed by GitHub
parent 223b96a59a
commit e2aa5c9b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`
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 tok := p.tok
for {