summaryrefslogtreecommitdiff
path: root/src/cmd/yacc
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-12-19 03:04:09 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-12-19 03:04:09 +0800
commit13e1639f158045edafca03982e404e535c979296 (patch)
treedfe3fc93d0ee51aad2783b35d7ac6c28d285679c /src/cmd/yacc
parentd6dd57865cd1ba29df99a2851e2ef1b85d9e978f (diff)
downloadgo-13e1639f158045edafca03982e404e535c979296.tar.gz
all: fix typos
caught by https://github.com/lyda/misspell-check. R=golang-dev, gri CC=golang-dev https://codereview.appspot.com/6949072
Diffstat (limited to 'src/cmd/yacc')
-rw-r--r--src/cmd/yacc/yacc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/yacc/yacc.go b/src/cmd/yacc/yacc.go
index 25bd22298..62655e7cd 100644
--- a/src/cmd/yacc/yacc.go
+++ b/src/cmd/yacc/yacc.go
@@ -2893,7 +2893,7 @@ func others() {
j = tokset[i].value
if j >= 0 && j < 256 {
if temp1[j] != 0 {
- fmt.Print("yacc bug -- cant have 2 different Ts with same value\n")
+ fmt.Print("yacc bug -- cannot have 2 different Ts with same value\n")
fmt.Printf(" %s and %s\n", tokset[i].name, tokset[temp1[j]].name)
nerrors++
}
@@ -2917,7 +2917,7 @@ func others() {
j = tokset[i].value - PRIVATE
if j >= 0 && j < 256 {
if temp1[j] != 0 {
- fmt.Print("yacc bug -- cant have 2 different Ts with same value\n")
+ fmt.Print("yacc bug -- cannot have 2 different Ts with same value\n")
fmt.Printf(" %s and %s\n", tokset[i].name, tokset[temp1[j]].name)
nerrors++
}