adjusting the logic for neg nums
This commit is contained in:
parent
1dba233118
commit
a0842d278a
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user