Mercurial > hg > Gears > Gears
comparison src/parallel_execution/generate_stub.pl @ 963:2e4c84f2683f
convert #interface into // include
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Mar 2021 10:34:06 +0900 |
parents | 359f22dec55b |
children | 2caac93dee00 |
comparison
equal
deleted
inserted
replaced
962:359913ba0175 | 963:2e4c84f2683f |
---|---|
685 next; | 685 next; |
686 } elsif(/^#interface "(.*)"/) { | 686 } elsif(/^#interface "(.*)"/) { |
687 debug_print("generateDataGear",__LINE__, $_) if $opt_debug; | 687 debug_print("generateDataGear",__LINE__, $_) if $opt_debug; |
688 my $interfaceHeader = $1; | 688 my $interfaceHeader = $1; |
689 # #interface not write | 689 # #interface not write |
690 print $fd "// include \"$1\"\n"; | |
690 next unless ($interfaceHeader =~ /context.h/); | 691 next unless ($interfaceHeader =~ /context.h/); |
691 } elsif (/^#include "(.*).h"$/) { | 692 } elsif (/^#include "(.*).h"$/) { |
692 debug_print("generateDataGear",__LINE__, $_) if $opt_debug; | 693 debug_print("generateDataGear",__LINE__, $_) if $opt_debug; |
693 my $headerName = $1; | 694 my $headerName = $1; |
694 if ($headerName =~ m|/?context$|) { | 695 if ($headerName =~ m|/?context$|) { |