Skip to content

panlint: wrong message when template declaration is not on first line #224

@wdpypere

Description

@wdpypere

we ran into this:

cfg/os/c7x-x86_64/config/core/boot.pan:5: Missing space before and after operator
unique template config/core/boot;
                     ^^^  ^^^

when there was documentation above the declaration like:

@{
 comments
}

unique template config/core/boot;

although it is fine panlint nags about this, it should probably say the declaration needs to be on the first line instead of parsing the line.

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