Skip to content

Do not require space by the incrementation operator  #2

@phoe

Description

@phoe

Your reader macro, after collecting all the tokens, can iterate over all of them and check if any of them are of form FOO++ (same thing for ++FOO and --). If so, it can split that token into FOO and ++.

This should be enough to type the ++ operator in a more natural style - without any spaces between the variable name and the operator.

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