mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
GH-857: fix redefining record types used to index tables
This change tracks all TableVals created at parse-time whose index depends on a given RecordType. Should that RecordType be redef'd, those TableVals are immediately rebuilt such that they are valid to subsequently use in either parse-time initializations or eventually in any arbitrary run-time expression.
This commit is contained in:
parent
a61ad9ea5c
commit
71b82595ba
6 changed files with 188 additions and 0 deletions
|
@ -650,6 +650,7 @@ int main(int argc, char** argv)
|
|||
is_parsing = false;
|
||||
|
||||
RecordVal::DoneParsing();
|
||||
TableVal::DoneParsing();
|
||||
|
||||
init_general_global_var();
|
||||
init_net_var();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue