aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/testdata
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/testdata
parentde3e24c4b6cd0136618ce74eb025a15d4834c082 (diff)
pkg/compiler: allow use of empty strings
This comes up in several contexts in netfilter.
Diffstat (limited to 'pkg/ast/testdata')
-rw-r--r--pkg/ast/testdata/all.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt
index d4452b34f..ede11a88a 100644
--- a/pkg/ast/testdata/all.txt
+++ b/pkg/ast/testdata/all.txt
@@ -25,10 +25,10 @@ define FOO `bar ### C expression is not terminated
foo(x int32[1:2:3, opt]) ### unexpected ':', expecting ']'
s0 {
- f0 string[""] ### empty string literals are not supported
+ f0 string[""]
}
-sf0 = "", "1" ### empty string literals are not supported
+sf0 = "", "1"
include <linux/foo.h>
include "linux/foo.h"