mirror of
https://github.com/golang/go
synced 2024-10-05 02:21:22 -06:00
f593b37f23
Remove err from the encoderState and decoderState types, so we're not always copying to and from various copies of the error, and then use panic/recover to eliminate lots of error checking. another pass might take a crack at the same thing for the compilation phase. R=rsc CC=golang-dev https://golang.org/cl/2660042
26 lines
441 B
Makefile
26 lines
441 B
Makefile
# Copyright 2009 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
include ../../Make.inc
|
|
|
|
TARG=gob
|
|
GOFILES=\
|
|
decode.go\
|
|
decoder.go\
|
|
doc.go\
|
|
encode.go\
|
|
encoder.go\
|
|
error.go\
|
|
type.go\
|
|
|
|
include ../../Make.pkg
|
|
|
|
# Help for debugging. Requires adding debug.go to the gob package as well.
|
|
|
|
dump: dump.$O
|
|
$(LD) -o dump $<
|
|
|
|
dump.$O: dump.go
|
|
$(GC) $<
|