branch | 1.1 Korean release |
changeset 1384 | 02fe382c4511 |
parent 1288 | adc79fc44079 |
child 1433 | 4a45f6642523 |
--- 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, '<plc>', '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,