Initialize current_symtab early, with pr.symtab.

This (with the previous commit) fixes the problems with the tags for
builtin structs.
This commit is contained in:
Bill Currie 2012-11-09 14:37:28 +09:00
parent 9cb0ca6fed
commit fd8c639773

View file

@ -163,6 +163,7 @@ InitData (void)
pr.symtab = new_symtab (0, stab_global);
pr.symtab->space = pr.near_data;
current_symtab = pr.symtab;
pr.entity_data = defspace_new ();
pr.entity_fields = new_symtab (0, stab_global);