diff 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
line wrap: on
line diff
--- a/src/parallel_execution/generate_stub.pl	Wed Jan 03 17:34:24 2018 +0900
+++ b/src/parallel_execution/generate_stub.pl	Thu Jan 04 19:50:46 2018 +0900
@@ -188,7 +188,7 @@
                     $inputIncFlag = 0;
                     $outputCount = split(/,/,$3);
                     $outputCount--;
-                } elsif ($args =~ s/^(struct|union)?\s*(\w+)(\*)+\s(\w+)//) {
+                } elsif ($args =~ s/^(struct|union)?\s*(\w+)(\*)?+\s(\w+)//) {
                     if($inputIncFlag) {
                         $inputCount++;
                     }