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

Unable to define constants with negative values #82

Open
tricxta opened this issue Jan 2, 2023 · 1 comment
Open

Unable to define constants with negative values #82

tricxta opened this issue Jan 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working gs2-parser
Milestone

Comments

@tricxta
Copy link
Collaborator

tricxta commented Jan 2, 2023

As the title says, the following can't be compiled:
const SOME_VAR = -0.1;

@tricxta tricxta added the bug Something isn't working label Jan 2, 2023
@xx-shitai-xx xx-shitai-xx added this to the v3.0.9 milestone Jan 5, 2023
xtjoeytx added a commit that referenced this issue Jan 21, 2023
- Added support for bitwise operations: left-shift, right-shift, or, xor, invert (bug #76)
- Fixed modulus assignment (bug #81)
- Fixed constants with negative values (bug #82)
- Fixed precedence for power operator (bug #83)
@xtjoeytx
Copy link
Owner

Resolved for negative numbers, need to resolve for negative decimal numbers

@xx-shitai-xx xx-shitai-xx changed the title [GS2-Parser] Unable to define constants with negative values Unable to define constants with negative values Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gs2-parser
Projects
None yet
Development

No branches or pull requests

3 participants