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:
parent
9995dec9da
commit
371b77ad20
@ -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",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user