Skip to content

sometimes merges comments where should not #137

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions