Skip to content

Commit

Permalink
Fixed issue with ast test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeyfyi committed Apr 16, 2017
1 parent 75540be commit f4e30d3
Show file tree
Hide file tree
Showing 22 changed files with 148 additions and 148 deletions.
4 changes: 2 additions & 2 deletions ast/always_inline_attr.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ast
type AlwaysInlineAttr struct {
Address string
Position string
Children []interface{}
Children []Node
}

func parseAlwaysInlineAttr(line string) *AlwaysInlineAttr {
Expand All @@ -15,7 +15,7 @@ func parseAlwaysInlineAttr(line string) *AlwaysInlineAttr {
return &AlwaysInlineAttr{
Address: groups["address"],
Position: groups["position"],
Children: []interface{}{},
Children: []Node{},
}
}

Expand Down
4 changes: 2 additions & 2 deletions ast/asm_label_attr.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type AsmLabelAttr struct {
Address string
Position string
FunctionName string
Children []interface{}
Children []Node
}

func parseAsmLabelAttr(line string) *AsmLabelAttr {
Expand All @@ -17,7 +17,7 @@ func parseAsmLabelAttr(line string) *AsmLabelAttr {
Address: groups["address"],
Position: groups["position"],
FunctionName: groups["function"],
Children: []interface{}{},
Children: []Node{},
}
}

Expand Down
Loading

0 comments on commit f4e30d3

Please sign in to comment.