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

Add support for increment/decrement operator to parser #23

Closed
pjattke opened this issue Sep 22, 2020 · 0 comments
Closed

Add support for increment/decrement operator to parser #23

pjattke opened this issue Sep 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pjattke
Copy link
Contributor

pjattke commented Sep 22, 2020

Our current parser implementation does not support the increment (++) and decrement (--) operators. As they are very common, supporting them would make it easier for users.

Also, currently our parser does not provide a meaningful error message in case that a increment/decrement operator was found. For example:

for (int i = 0; i < 22; i++) ...
unknown file: Failure

stdout:
> C++ exception with description "Syntax error: Expected '=' on Line 4, position 88" thrown in the test body.
@pjattke pjattke added the enhancement New feature or request label Sep 22, 2020
@AlexanderViand AlexanderViand self-assigned this Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants