mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-03 17:39:29 +01:00
CGrammar: Add dash between bitwise operators, .e.g. "bitwise ORed" becomes "bitwise-ORed"
This commit is contained in:
parent
b0ce2d422e
commit
c40fd81bb0
@ -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",
|
||||
};
|
||||
|
||||
|
@ -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 ' ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user