aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/clone.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-23 11:05:51 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-23 11:05:51 +0100
commit14d1e424b6a582d021c73c88e1f0c5f0962ecc9d (patch)
tree0fdc71b6e0de2576ae330f145a51f9c016ad81a2 /pkg/ast/clone.go
parentde3e24c4b6cd0136618ce74eb025a15d4834c082 (diff)
pkg/compiler: allow use of empty strings
This comes up in several contexts in netfilter.
Diffstat (limited to 'pkg/ast/clone.go')
-rw-r--r--pkg/ast/clone.go1
1 files changed, 1 insertions, 0 deletions
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,