Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
supercom32 opened this issue Jan 1, 2018 · 0 comments

Comments

@supercom32
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant