summaryrefslogtreecommitdiff
path: root/src/cmd/gc/yerr.h
diff options
context:
space:
mode:
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"
};