From 14d1e424b6a582d021c73c88e1f0c5f0962ecc9d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 23 Jan 2018 11:05:51 +0100 Subject: pkg/compiler: allow use of empty strings This comes up in several contexts in netfilter. --- pkg/ast/clone.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/ast/clone.go') diff --git a/pkg/ast/clone.go b/pkg/ast/clone.go index b915c1f33..b754b7650 100644 --- a/pkg/ast/clone.go +++ b/pkg/ast/clone.go @@ -182,6 +182,7 @@ func (n *Type) Clone() Node { ValueHex: n.ValueHex, Ident: n.Ident, String: n.String, + HasString: n.HasString, HasColon: n.HasColon, Pos2: n.Pos2, Value2: n.Value2, -- cgit mrf-deployment