summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2012-11-29 13:28:45 +0200
committerYakov Goldberg <yakov.g@samsung.com>2012-11-29 13:28:45 +0200
commit8bbf628b782ddef19060cc1ab8cfb8ef7c52d10b (patch)
tree64d47fc79be46b297c981ea3dfd8fa22b1d03ea4
parent487679d53b150eede94255ea378371111371ac45 (diff)
typo in xmlparser
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
-rw-r--r--eoparser/xmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eoparser/xmlparser.py b/eoparser/xmlparser.py
index 8a7b610..a8eaf0c 100644
--- a/eoparser/xmlparser.py
+++ b/eoparser/xmlparser.py
@@ -346,7 +346,6 @@ class JsVisitor(Visitor):
346 346
347 #is called by visit_Func to parse function as a method 347 #is called by visit_Func to parse function as a method
348 def visit_method(self, _o): 348 def visit_method(self, _o):
349 self.c_file.functions.append("/* generated by 'visit method() ' */\n")
350 349
351 if _o.name in ["event_global_freeze", "event_global_thaw"]: 350 if _o.name in ["event_global_freeze", "event_global_thaw"]:
352 self.c_file.functions.append("Handle<Value> %s(const Arguments& args)\n"%_o.name) 351 self.c_file.functions.append("Handle<Value> %s(const Arguments& args)\n"%_o.name)
@@ -364,6 +363,7 @@ class JsVisitor(Visitor):
364 self.h_file.meth_cb_headers.append(" Handle<Value> Callback_%s(const Arguments&);\n"%(_o.name)) 363 self.h_file.meth_cb_headers.append(" Handle<Value> Callback_%s(const Arguments&);\n"%(_o.name))
365 364
366 functions_tmp_save = list(self.c_file.functions) 365 functions_tmp_save = list(self.c_file.functions)
366 self.c_file.functions.append("/* generated by 'visit method() ' */\n")
367 367
368 self.c_file.functions.append("Handle<Value> %s::%s(const Arguments& args)\n"%(_o.cl_obj.kl_id, _o.name)) 368 self.c_file.functions.append("Handle<Value> %s::%s(const Arguments& args)\n"%(_o.cl_obj.kl_id, _o.name))
369 self.c_file.functions.append("{\n") 369 self.c_file.functions.append("{\n")