minor fixes for script optimization, exporting of attr_name, script layout tweak

This commit is contained in:
Vern Paxson 2023-12-04 16:48:19 -08:00
parent c3762ba9d3
commit a927d61e59
3 changed files with 30 additions and 4 deletions

View file

@ -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