mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

Two new BIFs get_identifier_declaring_script() and get_record_field_declaring_script() mirroring existing functions for comments. This allows to query the declaring script information from Zeek scripts and further determine if a redef operations were involved for record fields or enum names by comparing the declaring script with the one of the involved type. See the tests. Yet another one of @stevesmoot's requests.
7 lines
412 B
Text
7 lines
412 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
get_identifier_declaring_script(""), ""
|
|
get_identifier_declaring_script("UnknownRecord"), ""
|
|
get_record_field_declaring_script(""), ""
|
|
get_record_field_declaring_script("UnknownRecord"), ""
|
|
get_record_field_declaring_script("Conn$"), ""
|
|
get_record_field_declaring_script("Conn$unknown_field"), ""
|