1
0
mirror of https://github.com/golang/go synced 2024-11-25 12:57:58 -07:00

gc: error for nested functions, one semicolon problem

R=ken2
CC=golang-dev
https://golang.org/cl/1046042
This commit is contained in:
Russ Cox 2010-05-03 15:02:32 -07:00
parent 9995dec9da
commit 371b77ad20

View File

@ -53,4 +53,9 @@ static struct {
% loadsys package imports LFUNC LNAME '(' ')' '{' LDEFER LNAME ';'
"argument to go/defer must be function call",
% loadsys package imports LVAR LNAME '=' LNAME '{' LNAME ';'
"need trailing comma before newline in composite literal",
% loadsys package imports LFUNC LNAME '(' ')' '{' LFUNC LNAME
"nested func not allowed",
};