Skip to content

Allow arithmetic operator to be preceded by symbol or identifier #320

@colluca

Description

@colluca

style_operator_arithmetic allows an operator to be immediately followed by a symbol or identifier.

However, the prior is arguably useless when style_operator_arithmetic_leading_space=true.

The same example provided in the documentation would fail:

svlint/MANUAL.md

Line 10735 in 98e84ce

localparam bit [a-1:0] P1 = b; // No space around `-`.

What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions