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.
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.