Skip to content

Negative external variable initialisers don't work #7

@davidgiven

Description

@davidgiven

e.g.

fnord -1;

...produces a syntax error. (Because the CON token only matches positive numbers.)

What I did in my copy was to add a special case in extdef():

davidgiven/ack@8b89105#diff-001711b0da5eb4e0fdb5dd4d0bb2bcfc

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