# HG changeset patch # User Kaito Tokumori # Date 1445501706 -32400 # Node ID f748d295b08f92815879182813d93820d9d6d3ff # Parent ea6c94f9840a61d4a7d26200fd8954730c8896f6 fix start_code bug diff -r ea6c94f9840a -r f748d295b08f meta_connector/meta_connector.py --- a/meta_connector/meta_connector.py Fri Oct 16 16:13:17 2015 +0900 +++ b/meta_connector/meta_connector.py Thu Oct 22 17:15:06 2015 +0900 @@ -56,7 +56,7 @@ file.write('{0:s}(struct Context* context, {1:s}'.format(splited[0],splited[1])) elif not isMetaOrStub and regexed_l is not None and re.search(r"^ *goto",l): callee_name = regexed_l.group(0).rstrip('(') - if re.match('meta_|meta$',callee_name): + if callee_name == 'start_code' or re.match('meta_|meta$',callee_name): file.write(l) else: file.write("/*-- connected by script */\n")