mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Fix module-scoped type definitions that conflict with existing global ones
This commit is contained in:
parent
cb3abccfb1
commit
514df9f179
3 changed files with 24 additions and 1 deletions
|
@ -1323,7 +1323,7 @@ decl:
|
|||
std::unique_ptr<std::vector<AttrPtr>>($11));
|
||||
}
|
||||
|
||||
| TOK_TYPE global_id ':'
|
||||
| TOK_TYPE def_global_id ':'
|
||||
{ cur_decl_type_id = $2; zeekygen_mgr->StartType({NewRef{}, $2}); }
|
||||
type opt_attr ';'
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue