From c40fd81bb06a88d1e6fdce2a9b4b01a94649ca32 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 16 Jun 2014 21:23:19 +0000 Subject: [PATCH] CGrammar: Add dash between bitwise operators, .e.g. "bitwise ORed" becomes "bitwise-ORed" --- PBot/VERSION.pm | 2 +- modules/c2english/CGrammar.pm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index c7aa4c1c..546891be 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 646, + BUILD_REVISION => 647, BUILD_DATE => "2014-06-16", }; diff --git a/modules/c2english/CGrammar.pm b/modules/c2english/CGrammar.pm index 7f561c20..602049f4 100644 --- a/modules/c2english/CGrammar.pm +++ b/modules/c2english/CGrammar.pm @@ -561,9 +561,9 @@ logical_OR_AND_expression: log_OR_AND_bit_or_and_eq: '||' { $return = ' or '; } | '&&' { $return = ' and '; } - | '|' { $return = ' bitwise ORed by '; } - | '&' { $return = ' bitwise ANDed by '; } - | '^' { $return = ' bitwise XORed by ';} + | '|' { $return = ' bitwise-ORed by '; } + | '&' { $return = ' bitwise-ANDed by '; } + | '^' { $return = ' bitwise-XORed by ';} | '==' { $return = ' is equal to ' ; } | '!=' { $return = ' is not equal to ' ; }