diff --git a/doc/go_spec.html b/doc/go_spec.html index aec268b5d89..c6825263186 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -297,6 +297,7 @@ The following character sequences represent operators, delimiters, and other spe * ^ *= ^= <- > >= { } / << /= <<= ++ = := , ; % >> %= >>= -- ! ... . : + &^ &^=

Integer literals

@@ -2416,7 +2417,7 @@ log_op = "||" | "&&" . com_op = "<-" . rel_op = "==" | "!=" | "<" | "<=" | ">" | ">=" . add_op = "+" | "-" | "|" | "^" . -mul_op = "*" | "/" | "%" | "<<" | ">>" | "&" . +mul_op = "*" | "/" | "%" | "<<" | ">>" | "&" | "&^" . unary_op = "+" | "-" | "!" | "^" | "*" | "&" | "<-" . @@ -2460,7 +2461,7 @@ operators, comparison operators, communication operators,
 Precedence    Operator
-    6             *  /  %  <<  >>  &
+    6             *  /  %  <<  >>  &  &^
     5             +  -  |  ^
     4             ==  !=  <  <=  >  >=
     3             <-
@@ -2505,6 +2506,7 @@ to strings; all other arithmetic operators apply to integers only.
 &    bitwise and     integers
 |    bitwise or      integers
 ^    bitwise xor     integers
+&^   bitwise nand    integers
 
 <<   left shift      integer << unsigned integer
 >>   right shift     integer >> unsigned integer
@@ -3021,6 +3023,7 @@ x = 1
 *p = f()
 a[i] = 23
 k = <-ch
+i &^= (1<