// Copyright 2010 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Example-based syntax error messages.
// See bisonerrors, Makefile, go.y.

static struct {
	int yystate;
	int yychar;
	char *msg;
} yymsg[] = {
	// Each line of the form % token list
	// is converted by bisonerrors into the yystate and yychar caused
	// by that token list.

	214, ',',
	"unexpected comma during import block",

	378, ';',
	"unexpected semicolon or newline before {",

	399, ';',
	"unexpected semicolon or newline before {",

	230, ';',
	"unexpected semicolon or newline before {",

	474, LBODY,
	"unexpected semicolon or newline before {",

	18, '{',
	"unexpected semicolon or newline before {",

	138, ';',
	"unexpected semicolon or newline in type declaration",

	32, '}',
	"unexpected } in channel type",
	
	32, ')',
	"unexpected ) in channel type",
	
	32, ',',
	"unexpected comma in channel type",

	437, LELSE,
	"unexpected semicolon or newline before else",

	250, ',',
	"name list not allowed in interface type",

	230, LVAR,
	"var declaration not allowed in for initializer",

	60, '{',
	"unexpected { at end of statement",

	377, '{',
	"unexpected { at end of statement",
	
	118, ';',
	"argument to go/defer must be function call",
	
	317, ';',
	"need trailing comma before newline in composite literal",
	
	105, LNAME,
	"nested func not allowed",
};
