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

@ -103,7 +103,7 @@ fn (p mut Parser) struct_decl() {
}
// Struct `C.Foo` declaration, no body
if is_c && is_struct && p.tok != .lcbr {
p.table.register_type2(typ)
p.table.register_type(typ)
return
}
p.fspace()
@ -126,7 +126,7 @@ fn (p mut Parser) struct_decl() {
if !is_ph && p.first_pass() {
p.table.register_type2(typ)
p.table.register_type(typ)
//println('registering 1 nrfields=$typ.fields.len')
}