mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
minor fixes for script optimization, exporting of attr_name, script layout tweak
This commit is contained in:
parent
c3762ba9d3
commit
a927d61e59
3 changed files with 30 additions and 4 deletions
|
@ -150,5 +150,8 @@ protected:
|
|||
// it will be returned in err_msg.
|
||||
extern bool check_default_attr(Attr* a, const TypePtr& type, bool global_var, bool in_record, std::string& err_msg);
|
||||
|
||||
// Returns the script-level name associated with an attribute, e.g. "&default".
|
||||
extern const char* attr_name(AttrTag t);
|
||||
|
||||
} // namespace detail
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue