blob: df34c05b273d0a21c2c10103d77eb054ab2afafb [file] [log] [blame]
# Copyright 2012 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.
include ../../Make.dist
install: builtin.c go.y
bison -v -y -d go.y
# make yystate global, yytname mutable
cat | sed '/ int yystate;/d; s/int yychar;/int yychar, yystate;/; s/static const char \*const yytname/const char *yytname/; s/char const \*yymsgp/char *yymsgp/' >
awk -f bisonerrors y.output go.errors >yerr.h
builtin.c: runtime.go unsafe.go