Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
9ef8ebaf
Commit
9ef8ebaf
authored
May 26, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gc: patch y.tab.c to fix build when using Bison 2.5
Fixes #1843. R=rsc CC=golang-dev
https://golang.org/cl/4535101
parent
5b1fb9d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Makefile
src/cmd/gc/Makefile
+1
-1
No files found.
src/cmd/gc/Makefile
View file @
9ef8ebaf
...
...
@@ -49,7 +49,7 @@ include ../../Make.clib
install
:
$(LIB)
y1.tab.c
:
y.tab.c
#
make yystate global
,
yytname mutable
cat
y.tab.c |
sed
'/ int yystate;/d; s/int yychar;/int yychar, yystate;/; s/static const char \*const yytname/const char *yytname/'
>
y1.tab.c
cat
y.tab.c |
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/
'
>
y1.tab.c
yerr.h
:
bisonerrors go.errors y.tab.h
#
y.tab.h rule generates y.output too
awk
-f
bisonerrors y.output go.errors
>
yerr.h
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment