address some lint

This commit is contained in:
Michael McLoughlin
2018-12-05 00:27:42 -08:00
parent 022cbb7792
commit fa18d7229f
5 changed files with 17 additions and 20 deletions

5
ast.go
View File

@@ -109,9 +109,8 @@ func NewFile() *File {
// Function represents an assembly function.
type Function struct {
name string
params []Parameter
Nodes []Node
name string
Nodes []Node
// LabelTarget maps from label name to the following instruction.
LabelTarget map[Label]*Instruction