Skip to content

Commit

Permalink
Don't store a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Gordon authored and Jonathan Gordon committed Mar 4, 2020
1 parent b5e7b29 commit 8885996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/from_parsernode.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func NewExtRefTreeElement(g parser.Grammar, node parser.TreeElement) parser.TreeElement {
return &parser.Node{
return parser.Node{
Tag: "extref",
Extra: FromParserNode(g, node),
Children: nil,
Expand Down

0 comments on commit 8885996

Please sign in to comment.