Mercurial > hg > GearsTemplate
diff src/parallel_execution/generate_stub.pl @ 458:3025d00eb87d
Merge
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 14 Dec 2017 07:44:58 +0900 |
parents | 2b36a1878c6f 77de0283ac92 |
children | 6b71cf5b1c22 |
line wrap: on
line diff
--- a/src/parallel_execution/generate_stub.pl Thu Dec 14 07:44:21 2017 +0900 +++ b/src/parallel_execution/generate_stub.pl Thu Dec 14 07:44:58 2017 +0900 @@ -285,9 +285,9 @@ while (<$in>) { if (! $inTypedef && ! $inStub && ! $inMain) { - if (/^typedef struct (\w+) {/) { + if (/^typedef struct (\w+) \{/) { $inTypedef = 1; - } elsif (/^int main\((.*)\) {/) { + } elsif (/^int main\((.*)\) \{/) { $inMain = 1; } elsif (/^\_\_code (\w+)\((.*)\)(.*)/) { %localVarType = {};