0
0

remove useless panic unreachables in nex lexer that bother go vet

This commit is contained in:
Marty Schoch 2014-12-29 09:38:54 -08:00
parent b4add7fbf4
commit 02dd0a39c5

View File

@ -2,6 +2,8 @@
echo Running nex...
nex query_string.nex
grep -v 'panic("unreachable")' query_string.nn.go > query_string.nn.go.new
mv query_string.nn.go.new query_string.nn.go
echo Running goyacc...
go tool yacc -o query_string.y.go query_string.y
# remove first line which pollutes godocs