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/testdata/all.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/ast/testdata') 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 include "linux/foo.h" -- cgit mrf-deployment