diff options
Diffstat (limited to 'src/cmd/gc/go.errors')
-rw-r--r-- | src/cmd/gc/go.errors | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/gc/go.errors b/src/cmd/gc/go.errors index b5af4678c..e29cfff5b 100644 --- a/src/cmd/gc/go.errors +++ b/src/cmd/gc/go.errors @@ -67,4 +67,7 @@ static struct { % loadsys package imports LFUNC LNAME '(' ')' '{' LFUNC LNAME "nested func not allowed", + + % loadsys package imports LFUNC LNAME '(' ')' '{' LIF if_header loop_body LELSE ';' + "else must be followed by if or statement block" }; |