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

parser: clean up all []

This commit is contained in:
Alexander Medvednikov
2019-11-14 09:18:07 +03:00
parent 5df5f97daf
commit 4a833d8151
6 changed files with 21 additions and 14 deletions

View File

@ -38,8 +38,9 @@ fn (p mut Parser) select_query(fn_ph int) string {
// because we can have many queries in the _same_ scope.
qprefix := p.get_tmp().replace('tmp','sql') + '_'
p.sql_i = 0
p.sql_params = []string
p.sql_types = []string
p.sql_params = []
if false {}
p.sql_types = []
mut q := 'select '
p.check(.key_select)