minor hacks
This commit is contained in:
parent
90446be352
commit
e569b7f5aa
@ -54,6 +54,7 @@ class MetaLoader(HyFinder):
|
||||
|
||||
mod.__file__ = pth
|
||||
mod.__loader__ = self
|
||||
mod.__name__ = fullname
|
||||
|
||||
if ispkg:
|
||||
mod.__path__ = []
|
||||
|
@ -29,7 +29,8 @@ def _resolve_atom(value, self):
|
||||
pass
|
||||
|
||||
# LISP Variants have a tendency to use "-" in symbols n' shit.
|
||||
value = value.replace("-", "_")
|
||||
if value != "-": # we need subtraction
|
||||
value = value.replace("-", "_")
|
||||
|
||||
return _mangle(HYSymbol(value))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user