diff options
Diffstat (limited to 'vendor/github.com/leodido/go-urn')
-rw-r--r-- | vendor/github.com/leodido/go-urn/machine.go | 3 | ||||
-rw-r--r-- | vendor/github.com/leodido/go-urn/makefile | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/vendor/github.com/leodido/go-urn/machine.go b/vendor/github.com/leodido/go-urn/machine.go index fe5a0cc86..f8d57b412 100644 --- a/vendor/github.com/leodido/go-urn/machine.go +++ b/vendor/github.com/leodido/go-urn/machine.go @@ -61,11 +61,9 @@ func (m *machine) Parse(input []byte) (*URN, error) { m.err = nil m.tolower = []int{} output := &URN{} - { m.cs = start } - { if (m.p) == (m.pe) { goto _testEof @@ -1674,7 +1672,6 @@ func (m *machine) Parse(input []byte) (*URN, error) { { goto st46 } - } } diff --git a/vendor/github.com/leodido/go-urn/makefile b/vendor/github.com/leodido/go-urn/makefile index d088c044e..df87cdc6d 100644 --- a/vendor/github.com/leodido/go-urn/makefile +++ b/vendor/github.com/leodido/go-urn/makefile @@ -17,7 +17,7 @@ images: docs/urn.png .PHONY: removecomments removecomments: - @cd ./tools/removecomments; go build -o ../../removecomments ./main.go + @cd ./tools/removecomments; go build -o ../../removecomments . machine.go: machine.go.rl @@ -50,4 +50,4 @@ snake2camel: while ( match($$0, /(.*)([a-z]+[0-9]*)_([a-zA-Z0-9])(.*)/, cap) ) \ $$0 = cap[1] cap[2] toupper(cap[3]) cap[4]; \ print \ - }' $(file)
\ No newline at end of file + }' $(file) |