Skip to content

Cannot format zeek-7 IDs in global scope #83

@bbannier

Description

@bbannier

zeek-7 changed the way global IDs are written from GLOBAL::XYZ to ::XYZ. This syntax is not supported by e.g., zeek-format.

type r: record { };

event zeek_init()
	{
	local x: ::r;
	}
$ zeek-format foo.zeek
cannot parse line 5, col 9: ": :"
type r: record { };

event zeek_init()
        {
        local x : : : r;
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions