Negative numbers not working now, will fix later

db4
James Cash 2008-05-02 03:11:10 -04:00
parent dcab546b97
commit 3e8e976bee
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ RPAREN = ")"
dquote = '"'
squote = "'"
digit = [0-9]
integer = ("-")? (digit)+ => [[ string>number ]]
float = ("-")? (digit)+ "." (digit)* => [[ first3 >string [ >string ] dipd 3append string>number ]]
integer = (digit)+ => [[ string>number ]]
float = (digit)+ "." (digit)* => [[ first3 >string [ >string ] dipd 3append string>number ]]
number = float
| integer
id-specials = "!" | "$" | "%" | "&" | "*" | "/" | ":" | "<"