Remove an unused compiler function
This commit is contained in:
parent
29130212f0
commit
ea899471af
@ -328,14 +328,6 @@ def is_unpack(kind, x):
|
|||||||
and x[0] == "unpack-" + kind)
|
and x[0] == "unpack-" + kind)
|
||||||
|
|
||||||
|
|
||||||
def ends_with_else(expr):
|
|
||||||
return (expr and
|
|
||||||
isinstance(expr[-1], HyExpression) and
|
|
||||||
expr[-1] and
|
|
||||||
isinstance(expr[-1][0], HySymbol) and
|
|
||||||
expr[-1][0] == HySymbol("else"))
|
|
||||||
|
|
||||||
|
|
||||||
class HyASTCompiler(object):
|
class HyASTCompiler(object):
|
||||||
|
|
||||||
def __init__(self, module_name):
|
def __init__(self, module_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user