remove useless panic unreachables in nex lexer that bother go vet
This commit is contained in:
parent
b4add7fbf4
commit
02dd0a39c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user