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

rename table.register_type2()

This commit is contained in:
Alexander Medvednikov
2019-12-05 14:09:33 +03:00
parent 0ff2754677
commit 2a1b0a8cae
7 changed files with 15 additions and 15 deletions

View File

@ -328,7 +328,7 @@ fn (p mut Parser) name_expr() string {
mod: p.mod
func: f
}
p.table.register_type2(fn_typ)
p.table.register_type(fn_typ)
p.gen(p.table.fn_gen_name(f))
p.next()
return f.typ_str() //'void*'