Mercurial > hg > CbC > old > CbC_scripts
changeset 8:ae45108716a2
fix usage
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Sep 2015 13:13:17 +0900 |
parents | 4b015ace1eb4 |
children | 185d545a9a8e |
files | meta_connector/meta_connect_test_name.c meta_connector/meta_connector_name.py |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/meta_connector/meta_connect_test_name.c Tue Sep 01 19:24:20 2015 +0900 +++ b/meta_connector/meta_connect_test_name.c Mon Sep 14 13:13:17 2015 +0900 @@ -31,7 +31,7 @@ // goto meta(context, Sender); //} -__code code1(struct Context* context, struct Allocate* allocate) { +__code code1(struct Allocate* allocate) { allocate->size = sizeof(long); allocate->next = Code2; goto meta(context, Allocator);
--- a/meta_connector/meta_connector_name.py Tue Sep 01 19:24:20 2015 +0900 +++ b/meta_connector/meta_connector_name.py Mon Sep 14 13:13:17 2015 +0900 @@ -13,10 +13,12 @@ Parse meta connect syntax. Default output is stdout. sample) - goto code1(arg1, arg2, ...); +__code code0(struct Data data1, ...){ + goto code1(data1, data2, ...); \t| \tV - goto meta_code1(context, arg1, arg2, ..., Code1); +__code code0(struct Context* context, struct Data data1, ...){ + goto meta_code1(context, data1, data2, ..., Code1); """) parser.add_argument('input_file',\ nargs=None,\