From 94e151ceb51191698a068d96191cdd86326050f9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 4 Sep 2017 19:56:54 +0200 Subject: pkg/ast: prohibit empty strings This is currently unsupported and unused. --- pkg/ast/testdata/all.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/ast/testdata') diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt index b71b7919c..3f647e4ca 100644 --- a/pkg/ast/testdata/all.txt +++ b/pkg/ast/testdata/all.txt @@ -24,6 +24,12 @@ 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 +} + +sf0 = "", "1" ### empty string literals are not supported + include include "linux/foo.h" incdir -- cgit mrf-deployment