Commit e7ef3b6d authored by Anthony Martin's avatar Anthony Martin

cmd/gc: support GNU Bison 2.7 in bisonerrors

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/7235064
parent fa2acad6
......@@ -41,9 +41,9 @@ grammar && NF>0 {
}
# In state dumps, record shift/reduce actions.
bison && /^state 0/ { grammar = 0; states = 1 }
bison && /^[Ss]tate 0/ { grammar = 0; states = 1 }
states && /^state / { state = $2 }
states && /^[Ss]tate / { state = $2 }
states { statetext[state] = statetext[state] $0 "\n" }
states && / shift/ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment