summaryrefslogtreecommitdiff
path: root/src/cmd/gc/go.errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gc/go.errors')
-rw-r--r--src/cmd/gc/go.errors3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/gc/go.errors b/src/cmd/gc/go.errors
index e29cfff5b..68a5e5af3 100644
--- a/src/cmd/gc/go.errors
+++ b/src/cmd/gc/go.errors
@@ -65,6 +65,9 @@ static struct {
% loadsys package imports LVAR LNAME '=' LNAME '{' LNAME ';'
"need trailing comma before newline in composite literal",
+ % loadsys package imports LVAR LNAME '=' comptype '{' LNAME ';'
+ "need trailing comma before newline in composite literal",
+
% loadsys package imports LFUNC LNAME '(' ')' '{' LFUNC LNAME
"nested func not allowed",