diff -r 72a826dfcfbb -r 02fe382c4511 runtime/PLCObject.py --- a/runtime/PLCObject.py Wed Jul 31 10:45:07 2013 +0900 +++ b/runtime/PLCObject.py Mon Nov 18 12:12:31 2013 +0900 @@ -329,7 +329,7 @@ if ccmd is None or ccmd!=cmd: AST = compile(cmd, '', 'eval') compile_cache[FBID]=(cmd,AST) - result,exp = self.evaluator(eval,cmd,self.python_runtime_vars) + result,exp = self.evaluator(eval,AST,self.python_runtime_vars) if exp is not None: res = "#EXCEPTION : "+str(exp[1]) self.LogMessage(1,('PyEval@0x%x(Code="%s") Exception "%s"')%(FBID,cmd,