Mercurial > hg > CbC > old > CbC_scripts
changeset 11:09470e372dda
fix default meta connection
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 05 Oct 2015 16:16:27 +0900 |
parents | eec116fe2387 |
children | dac62c00581b |
files | meta_connector/meta_connector_name.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/meta_connector/meta_connector_name.py Tue Sep 15 17:41:47 2015 +0900 +++ b/meta_connector/meta_connector_name.py Mon Oct 05 16:16:27 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 callee_name.startswith('meta_'): + if re.match('meta_|meta$',callee_name): file.write(l) else: file.write("/*-- connected by script */\n")