From 8885996b01c4430206e9982b359a4d7956f67a36 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 4 Mar 2020 14:19:47 +1100 Subject: [PATCH] Don't store a pointer --- ast/from_parsernode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ast/from_parsernode.go b/ast/from_parsernode.go index de4ee2a..c7d7cf1 100644 --- a/ast/from_parsernode.go +++ b/ast/from_parsernode.go @@ -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,