summaryrefslogtreecommitdiff
path: root/src/cmd/gc/yerr.h
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-03-04 21:27:36 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-03-04 21:27:36 +0100
commit04b08da9af0c450d645ab7389d1467308cfc2db8 (patch)
treedb247935fa4f2f94408edc3acd5d0d4f997aa0d8 /src/cmd/gc/yerr.h
parent917c5fb8ec48e22459d77e3849e6d388f93d3260 (diff)
downloadgolang-upstream/1.1_hg20130304.tar.gz
Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304
Diffstat (limited to 'src/cmd/gc/yerr.h')
-rw-r--r--src/cmd/gc/yerr.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cmd/gc/yerr.h b/src/cmd/gc/yerr.h
index 588890d0e..e7eb6516c 100644
--- a/src/cmd/gc/yerr.h
+++ b/src/cmd/gc/yerr.h
@@ -26,7 +26,7 @@ static struct {
237, ';',
"unexpected semicolon or newline before {",
- 474, LBODY,
+ 475, LBODY,
"unexpected semicolon or newline before {",
22, '{',
@@ -44,7 +44,7 @@ static struct {
37, ',',
"unexpected comma in channel type",
- 437, LELSE,
+ 438, LELSE,
"unexpected semicolon or newline before else",
257, ',',
@@ -65,9 +65,12 @@ static struct {
425, ';',
"need trailing comma before newline in composite literal",
+ 436, ';',
+ "need trailing comma before newline in composite literal",
+
112, LNAME,
"nested func not allowed",
- 615, ';',
+ 642, ';',
"else must be followed by if or statement block"
};