Commit 98b27814 authored by Robert Griesemer's avatar Robert Griesemer

gc: better error message when ~ operator is found

Fixes #844.

R=ken2, rsc, ken3
CC=golang-dev
https://golang.org/cl/1593041
parent 0c222d6e
......@@ -753,7 +753,7 @@ uexpr:
}
| '~' uexpr
{
yyerror("the OCOM operator is ^");
yyerror("the bitwise complement operator is ^");
$$ = nod(OCOM, $2, N);
}
| '^' uexpr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment