Mercurial > hg > Members > Moririn
changeset 391:2d9c500f263e
fix generate_stub
author | mir3636 |
---|---|
date | Tue, 01 Aug 2017 17:50:23 +0900 |
parents | c93216e68d70 |
children | 36964b9ac5fd |
files | src/parallel_execution/generate_stub.pl |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/generate_stub.pl Mon Jul 31 22:40:08 2017 +0900 +++ b/src/parallel_execution/generate_stub.pl Tue Aug 01 17:50:23 2017 +0900 @@ -366,6 +366,8 @@ $arg =~ s/^(\s)*(\w+)/$2/; if ($pType =~ s/\_\_code$//) { print $fd "\tGearef(context, $ntype)->$pName = C_$arg;\n"; + } elsif ($pType =~ s/Data$//){ + print $fd "\tGearef(context, $ntype)->$pName = (union Data*) $arg;\n"; } else { print $fd "\tGearef(context, $ntype)->$pName = $arg;\n"; }