adjusting the logic for neg nums

This commit is contained in:
Paul Tagliamonte 2012-12-22 17:50:38 -05:00
parent 1dba233118
commit a0842d278a

View File

@ -18,8 +18,11 @@ def _resolve_atom(value):
elif value == "false":
return HYBool(False)
if value.isdigit():
try:
return HYNumber(value)
except ValueError:
pass
return HYSymbol(value)