Change RecordVals to get resized at time of RecordType redef

Opposed to unconditionally checking all RecordVals whether they need to
be resized after parsing ends.
This commit is contained in:
Jon Siwek 2020-03-12 15:51:37 -07:00
parent da5fca7163
commit a61ad9ea5c
4 changed files with 21 additions and 13 deletions

View file

@ -649,7 +649,7 @@ int main(int argc, char** argv)
yyparse();
is_parsing = false;
RecordVal::ResizeParseTimeRecords();
RecordVal::DoneParsing();
init_general_global_var();
init_net_var();