Skip to content
New issue

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

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

Already on GitHub? # to your account

Add negative numbers to the HTL grammar #44

Closed
karollewandowski opened this issue Sep 10, 2017 · 0 comments
Closed

Add negative numbers to the HTL grammar #44

karollewandowski opened this issue Sep 10, 2017 · 0 comments
Assignees
Milestone

Comments

@karollewandowski
Copy link
Contributor

karollewandowski commented Sep 10, 2017

I'm wondering why negative numbers like: -5, -8.2 are not allowed in grammar. Is there any motivation for this or it was just overlooked? It could be sometimes useful eg. for comparing values with -1 (it's often returned from Java API methods as "not found" code).
If it is something that can be added, but you just don't have time, please let me know. I can create changes here and in Sling project.

@karollewandowski karollewandowski changed the title Negative number are not allowed Negative numbers are not allowed Sep 10, 2017
@raducotescu raducotescu self-assigned this May 24, 2018
@raducotescu raducotescu added this to the 1.4 milestone May 24, 2018
@raducotescu raducotescu changed the title Negative numbers are not allowed Add negative numbers to the HTL grammar Jun 1, 2018
raducotescu added a commit that referenced this issue Jun 1, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants