-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from andyyang890/replace_wkt_parser
encoding/wkt: replace wkt parser with goyacc parser
- Loading branch information
Showing
11 changed files
with
3,860 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
y.output |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
set -eux | ||
|
||
goyacc -o wkt_generated.go -p "wkt" wkt.y | ||
# TODO replace this script if https://github.com/golang/tools/pull/304 is accepted | ||
cat wkt_generated.go | sed -e 's/wktErrorVerbose = false/wktErrorVerbose = true/' > wkt_generated.go.tmp | ||
mv wkt_generated.go.tmp wkt_generated.go |
Oops, something went wrong.