Fix negative number syntax. Add a unary '-' operator.

Closes #63.
This commit is contained in:
Stephen Dolan committed 2013-01-03 12:53:23 +00:00
1 parent c013b557a2
commit 925ec3751f
4 files changed
+28 -1

No files matched your search

+13
View File
@@ -21,6 +21,11 @@ null
null
1
-1
null
-1
# FIXME: much more number testing needed
{}
@@ -197,6 +202,14 @@ null
"wtasdf"
2.0
2-1
null
1
2-(-1)
null
3
1e+0+0.001e3
"I wonder what this will be?"
20e-1