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

Nullary operators are indistinguishable from unary operators #7

Closed
kymckay opened this issue Apr 30, 2021 · 0 comments
Closed

Nullary operators are indistinguishable from unary operators #7

kymckay opened this issue Apr 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@kymckay
Copy link
Owner

kymckay commented Apr 30, 2021

As a result of my decision to tokenise SQF commands as a single type of token and spot misuse errors semantically instead of syntactically (due to parsing complication that would require since commands can have all/some of nullary, unary and binary forms) the parser is currently unable to distinguish nullary from unary commands (since they both start with a keyword token).

I need to add a way for the parser to see ahead to the next token in order to handle this.

@kymckay kymckay added the bug Something isn't working label Apr 30, 2021
kymckay added a commit that referenced this issue Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant