Mercurial > hg > CbC > old > CbC_scripts
comparison meta_connector/meta_connector_name.py @ 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 |
comparison
equal
deleted
inserted
replaced
7:4b015ace1eb4 | 8:ae45108716a2 |
---|---|
11 formatter_class=argparse.RawDescriptionHelpFormatter, | 11 formatter_class=argparse.RawDescriptionHelpFormatter, |
12 description="""\ | 12 description="""\ |
13 Parse meta connect syntax. Default output is stdout. | 13 Parse meta connect syntax. Default output is stdout. |
14 | 14 |
15 sample) | 15 sample) |
16 goto code1(arg1, arg2, ...); | 16 __code code0(struct Data data1, ...){ |
17 goto code1(data1, data2, ...); | |
17 \t| | 18 \t| |
18 \tV | 19 \tV |
19 goto meta_code1(context, arg1, arg2, ..., Code1); | 20 __code code0(struct Context* context, struct Data data1, ...){ |
21 goto meta_code1(context, data1, data2, ..., Code1); | |
20 """) | 22 """) |
21 parser.add_argument('input_file',\ | 23 parser.add_argument('input_file',\ |
22 nargs=None,\ | 24 nargs=None,\ |
23 type=str,\ | 25 type=str,\ |
24 help='input file path.') | 26 help='input file path.') |