Skip to content

An equality sign after a token that begins with a number but is not purely numeric errors out the interpreter. #13

@RandiMoth

Description

@RandiMoth

If a token begins with a number, but isn't entirely numeric, the interpreter will not be able to read an equality sign that comes afterwards, exiting the file with the error of an unexpected '='.

An example of such a line of code is "set_variable = { 123.my_var = 321 }". Changing '123' to a string that begins with a letter resolves the issue. And, actually, so does replacing the second equality sign with some word character.

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