comparison src/parallel_execution/generate_stub.pl @ 200:207aff30ed34

fix generate_stub.pl
author mir3636
date Mon, 19 Dec 2016 19:00:38 +0900
parents bd96dffaa76a
children 90fa6f8246ca
comparison
equal deleted inserted replaced
199:9c85c3a34726 200:207aff30ed34
32 } 32 }
33 next; 33 next;
34 } 34 }
35 $dataGear{$name} .= $_; 35 $dataGear{$name} .= $_;
36 if (/(\w+);$/ and !/^} (\w+)/) { 36 if (/(\w+);$/ and !/^} (\w+)/) {
37 $var{$name} .= $1 . "\n"; 37 $tmp = $1 . "\n";
38 if (/{/) {
39 $tmp = "{" . $';
40 }
41 $var{$name} .= $tmp;
38 $tmp = $`; 42 $tmp = $`;
39 $tmp =~ s/^\s*//; 43 $tmp =~ s/^\s*//;
40 $type{$name} .= $tmp . "\n"; 44 $type{$name} .= $tmp . "\n";
41 } 45 }
42 if (/^}/) { 46 if (/^}/) {