diff options
Diffstat (limited to 'src/cmd/internal/gc/const.go')
-rw-r--r-- | src/cmd/internal/gc/const.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/gc/const.go b/src/cmd/internal/gc/const.go index f9bd5571b4..49d3bcc568 100644 --- a/src/cmd/internal/gc/const.go +++ b/src/cmd/internal/gc/const.go @@ -788,7 +788,7 @@ func evconst(n *Node) { // which is not quite an ideal error. case OMOD<<16 | CTFLT: if n.Diag == 0 { - Yyerror("illegal constant expression: floating-point % operation") + Yyerror("illegal constant expression: floating-point %% operation") n.Diag = 1 } |