diff options
author | Tony Crisci <tony@dubstepdish.com> | 2014-05-18 00:44:19 -0400 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-05-20 19:59:01 +0200 |
commit | 45fa4b7d232ee23ad25802fe3f7c9c3a75fca77e (patch) | |
tree | a2f5dde942876e54cdd995f4cab2e93522eba716 /generate-command-parser.pl | |
parent | dda9a7f6e040fabf5c2077ffdc24f34ae7587c68 (diff) | |
download | i3-45fa4b7d232ee23ad25802fe3f7c9c3a75fca77e.tar.gz i3-45fa4b7d232ee23ad25802fe3f7c9c3a75fca77e.zip |
Change the names of parser result structs
Change the name of structs CommandResult and ConfigResult to
CommandResultIR and ConfigResultIR to show they are an intermediate
representation used during parsing.
Diffstat (limited to 'generate-command-parser.pl')
-rwxr-xr-x | generate-command-parser.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |