|
@@ -1204,7 +1204,7 @@ The following table illustrates the resultant bit from the xoring of two bits.
|
|
|
|
|
|
[source,ANTLR4]
|
|
|
----
|
|
|
-bitwise_and: expression '^' expression;
|
|
|
+bitwise_xor: expression '^' expression;
|
|
|
----
|
|
|
|
|
|
*Promotion*
|
|
@@ -1284,7 +1284,7 @@ The following table illustrates the resultant bit from the oring of two bits.
|
|
|
|
|
|
[source,ANTLR4]
|
|
|
----
|
|
|
-bitwise_and: expression '|' expression;
|
|
|
+bitwise_or: expression '|' expression;
|
|
|
----
|
|
|
|
|
|
*Promotion*
|
|
@@ -1336,4 +1336,4 @@ def y = x ^ 8; <2>
|
|
|
implicit cast `def` to `int 7`;
|
|
|
bitwise or `int 7` and `int 8` -> `int 15`;
|
|
|
implicit cast `int 15` to `def` -> `def`;
|
|
|
- store `def` to `y`
|
|
|
+ store `def` to `y`
|