X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=generate-command-parser.pl;h=9b5ef562941779da30ff5e6386f178bd36c9650d;hb=686a40e384a65bf267426dec76cdcf8819ea9a1a;hp=b76d5e5512f8215ffec637103c8c9686c7dc97ef;hpb=9bfe6a6236ca733a4fc4e072b5014e01d430bfd9;p=i3%2Fi3 diff --git a/generate-command-parser.pl b/generate-command-parser.pl index b76d5e55..9b5ef562 100755 --- a/generate-command-parser.pl +++ b/generate-command-parser.pl @@ -131,7 +131,7 @@ close($enumfh); # Third step: Generate the call function. open(my $callfh, '>', "GENERATED_${prefix}_call.h"); -my $resultname = uc(substr($prefix, 0, 1)) . substr($prefix, 1) . 'Result'; +my $resultname = uc(substr($prefix, 0, 1)) . substr($prefix, 1) . 'ResultIR'; say $callfh "static void GENERATED_call(const int call_identifier, struct $resultname *result) {"; say $callfh ' switch (call_identifier) {'; my $call_id = 0;