3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

CGrammar: Add dash between bitwise operators, .e.g. "bitwise ORed" becomes "bitwise-ORed"

This commit is contained in:
Pragmatic Software 2014-06-16 21:23:19 +00:00
parent b0ce2d422e
commit c40fd81bb0
2 changed files with 4 additions and 4 deletions

View File

@ -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",
};

View File

@ -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 ' ; }