# HG changeset patch # User anatofuz # Date 1593165966 -32400 # Node ID 0106e700d237bc4244b79aef1e5f54e1c008ea64 # Parent 3d7e1c9a852ee53724f788ade9c0a577e99be70f fix generate_stub diff -r 3d7e1c9a852e -r 0106e700d237 src/gearsTools/generate_stub.pl --- a/src/gearsTools/generate_stub.pl Fri Jun 26 15:30:42 2020 +0900 +++ b/src/gearsTools/generate_stub.pl Fri Jun 26 19:06:06 2020 +0900 @@ -573,8 +573,8 @@ } $i++; } - print $fd "${prev}context->before = C_$codeGearName;\n"; - print $fd "${prev}goto meta(context, $next->$method);\n"; + print $fd "${prev}${contextext_name}->before = C_$codeGearName;\n"; + print $fd "${prev}goto meta(${context_name}, $next->$method);\n"; next; } elsif(/^(.*)par goto (\w+)\((.*)\);/) { # handling par goto statement