internal/gen: doc exported symbols (#9)

This commit is contained in:
Michael McLoughlin
2019-01-05 14:12:50 -08:00
parent c3a3000908
commit cf1739b920
7 changed files with 27 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ type asmtest struct {
prnt.Generator
}
// NewAsmTest prints one massive assembly function containing a line for every
// instruction form in the database. The intention is to pass this to the Go
// assembler and confirm there are no errors, thus helping to ensure our
// database is compatible.
func NewAsmTest(cfg printer.Config) Interface {
return &asmtest{cfg: cfg}
}