Skip to content

sometimes merges comments where should not #137

@stevesmoot

Description

@stevesmoot

looks like for short lines ## comments are pulled up, with no break, which doesnt work where the zeek parser is greedy
(or alternately i guess this is a zeek bug that the ## should have started a new comment...)

✦4 ❯ cat bug.zeek
@load ./foo.zeek
## @load ./bar.zeek

✦4 ❯ zeek-format bug.zeek
@load ./foo.zeek## @load ./bar.zeek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions