1
0
mirror of https://github.com/golang/go synced 2024-10-05 03:21:23 -06:00
go/src/cmd/yacc
Matthew Dempsky 82e1651a24 cmd/internal/gc, cmd/yacc: merge yaccerrors.go into cmd/yacc
This extends cmd/yacc with support for

	%error { tokens } : message

syntax to specify custom error messages to use instead of the default
generic ones.  This allows merging go.errors into go.y and removing
the yaccerrors.go tool.

Updates #9968.

Change-Id: I781219c568b86472755f877f48401eaeab00ead5
Reviewed-on: https://go-review.googlesource.com/8563
Reviewed-by: Russ Cox <rsc@golang.org>
2015-05-15 17:29:26 +00:00
..
testdata/expr cmd/yacc/testdata/expr: fix handling of negative numbers 2015-03-11 04:20:42 +00:00
doc.go cmd/yacc: fix path in documentation 2015-03-17 04:53:21 +00:00
yacc.go cmd/internal/gc, cmd/yacc: merge yaccerrors.go into cmd/yacc 2015-05-15 17:29:26 +00:00