Skip to content

Comment syntax #306

@Bolpat

Description

@Bolpat

Pegged uses # as the start of its line comment which does not work well with D's q{} strings. This is not an issue of taste, the D compiler rejects # as a token. Literally anything else would be a better choice as it would at least compile. As a stupid question, why not also accept regular old D comments starting with //? Technically, // is valid as part of a rule, but I'd guess no one uses empty choices that way.

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