]> git.sur5r.net Git - i3/i3/blobdiff - generate-command-parser.pl
Change the names of parser result structs
[i3/i3] / generate-command-parser.pl
index b76d5e5512f8215ffec637103c8c9686c7dc97ef..9b5ef562941779da30ff5e6386f178bd36c9650d 100755 (executable)
@@ -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;