Provide setf and setv as options for setting variables.

This commit is contained in:
Christopher Allan Webber 2013-04-01 16:32:48 -05:00
parent 0c4ae39bc0
commit 73695881a9

View File

@ -453,7 +453,8 @@ class HyASTCompiler(object):
col_offset=expression.start_column)
@builds("def")
@builds("set")
@builds("setf")
@builds("setv")
def compile_def_expression(self, expression):
expression.pop(0) # "def"
name = expression.pop(0)