Mercurial > hg > Gears > GearsAgda
comparison src/parallel_execution/generate_stub.pl @ 516:62a77785cb2b
Bounded Loop for boundedBuffer examples
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 04 Jan 2018 19:50:46 +0900 |
parents | 809974b25ecb |
children |
comparison
equal
deleted
inserted
replaced
508:64869af1f3ef | 516:62a77785cb2b |
---|---|
186 } | 186 } |
187 if ($args =~ s/^(\s)*\_\_code\s+(\w+)\((.*?)\)//) { | 187 if ($args =~ s/^(\s)*\_\_code\s+(\w+)\((.*?)\)//) { |
188 $inputIncFlag = 0; | 188 $inputIncFlag = 0; |
189 $outputCount = split(/,/,$3); | 189 $outputCount = split(/,/,$3); |
190 $outputCount--; | 190 $outputCount--; |
191 } elsif ($args =~ s/^(struct|union)?\s*(\w+)(\*)+\s(\w+)//) { | 191 } elsif ($args =~ s/^(struct|union)?\s*(\w+)(\*)?+\s(\w+)//) { |
192 if($inputIncFlag) { | 192 if($inputIncFlag) { |
193 $inputCount++; | 193 $inputCount++; |
194 } | 194 } |
195 } elsif ($args =~ s/(.*,)//) { | 195 } elsif ($args =~ s/(.*,)//) { |
196 } else { | 196 } else { |