Skip to content

Leaving a space between variable name and array index causes unhelpful 'line 1: Unknown token? 1' error. #10

@supercom32

Description

@supercom32

Issue found using the latest version of Dragon Basic under Linux (Commit ID: d2ce042)

Leaving a space between variable name and array index causes unhelpful 'line 1: Unknown token? 1' error. Instead of telling you where the error occurs, it always says 'line 1' instead of the real line number. I believe the original Dragon Basic allowed for spaces (Ignored them), but the new DBC seems to be more strict on this. Might be as-designed, but the unhelpful line numbering is definitely something to look at.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions