From 3f83d643b05ccd2f856b31ee7029c683d3580b5f Mon Sep 17 00:00:00 2001 From: "Joey Pabalinas (jp)" Date: Tue, 5 Jun 2018 12:09:36 -1000 Subject: [PATCH] modules/c2english: Remove hyphen in "compound-literal" (#33) Signed-off-by: Joey Pabalinas --- modules/c2english/CGrammar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/c2english/CGrammar.pm b/modules/c2english/CGrammar.pm index 8a097c70..9ce6aea3 100755 --- a/modules/c2english/CGrammar.pm +++ b/modules/c2english/CGrammar.pm @@ -1237,7 +1237,7 @@ postfix_expression: '(' type_name ')' '{' initializer_list '}' postfix_productions[context => "$arg{context}|compound literal"](?) { my $postfix = $item[-1]->[0]; - $return = "A compound-literal of type $item{type_name} initialized to {$item{initializer_list}}"; + $return = "A compound literal of type $item{type_name} initialized to {$item{initializer_list}}"; $return = "$postfix $return" if $postfix; } | primary_expression postfix_productions[primary_expression => $item[1], context => $arg{context}]