From 6cf707261dead576f8dd3de639767d343e06fd83 Mon Sep 17 00:00:00 2001 From: yuyi Date: Thu, 5 May 2022 00:25:45 +0800 Subject: [PATCH] parser: make peek_token_after_var_list() private (#14288) --- vlib/v/parser/parser.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index cacac45f85..bde17cebc7 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -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 {