Update #215
@@ -2711,8 +2711,7 @@ func TestSimpleScalars(t *testing.T) {
//
// decode.go
// - UnreadByte: only 2 states (z.ls = 2 and z.ls = 1) (0 --> 2 --> 1)
-// - track
-// z.trb: track, stop track, check
+// - track: z.trb: track, stop track, check
// - PreferArrayOverSlice??? (standalone test)
// - InterfaceReset (standalone test)
// - (chan byte) to decode []byte (with mapbyslice track)
@@ -29,6 +29,8 @@ const genCodecPkg = "codec1978" // keep this in sync with codec.genCodecPkg
const genFrunMainTmpl = `//+build ignore
+// Code generated - temporary main package for codecgen - DO NOT EDIT.
+
package main
{{ if .Types }}import "{{ .ImportPath }}"{{ end }}
func main() {
@@ -38,6 +40,9 @@ func main() {
// const genFrunPkgTmpl = `//+build codecgen
const genFrunPkgTmpl = `
+// Code generated - temporary package for codecgen - DO NOT EDIT.
package {{ $.PackageName }}
import (
@@ -3,10 +3,7 @@
// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
// Use of this source code is governed by a MIT license found in the LICENSE file.
-// ************************************************************
-// DO NOT EDIT.
-// THIS FILE IS AUTO-GENERATED from fast-path.go.tmpl
+// Code generated from fast-path.go.tmpl - DO NOT EDIT.
package codec
-// THIS FILE IS AUTO-GENERATED from gen-helper.go.tmpl
+// Code generated from gen-helper.go.tmpl - DO NOT EDIT.
@@ -219,10 +219,7 @@ func Gen(w io.Writer, buildTags, pkgName, uid string, noExtensions bool,
}
x.line(`
-// THIS FILE IS AUTO-GENERATED BY codecgen.
+// Code generated by codecgen - DO NOT EDIT.
`)
x.line("package " + pkgName)
@@ -1,10 +1,7 @@
-// THIS FILE IS AUTO-GENERATED from mammoth-test.go.tmpl
+// Code generated from mammoth-test.go.tmpl - DO NOT EDIT.
-// THIS FILE IS AUTO-GENERATED from mammoth2-test.go.tmpl
+// Code generated from mammoth2-test.go.tmpl - DO NOT EDIT.
@@ -1,9 +1,6 @@
// +build !notfastpath
+// Code generated - DO NOT EDIT.