|
@@ -622,7 +622,7 @@ class AnalysisState(object):
|
|
# global_var, = yield [("RD", [_globals, var_name])]
|
|
# global_var, = yield [("RD", [_globals, var_name])]
|
|
#
|
|
#
|
|
# if global_var is None:
|
|
# if global_var is None:
|
|
- # raise Exception("Runtime error: global '%s' not found" % (var_name))
|
|
|
|
|
|
+ # raise Exception("Not found as global: %s" % (var_name))
|
|
#
|
|
#
|
|
# tmp = global_var
|
|
# tmp = global_var
|
|
|
|
|
|
@@ -650,7 +650,7 @@ class AnalysisState(object):
|
|
tree_ir.CallInstruction(
|
|
tree_ir.CallInstruction(
|
|
tree_ir.LoadGlobalInstruction('Exception'),
|
|
tree_ir.LoadGlobalInstruction('Exception'),
|
|
[tree_ir.LiteralInstruction(
|
|
[tree_ir.LiteralInstruction(
|
|
- "Runtime error: global '%s' not found" % var_name)
|
|
|
|
|
|
+ "Not found as global: %s" % var_name)
|
|
])),
|
|
])),
|
|
tree_ir.EmptyInstruction())
|
|
tree_ir.EmptyInstruction())
|
|
|
|
|