From a116470dc3f3852a062312c93ebc8f2452027133 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 13 Apr 2020 13:05:16 +0200 Subject: pkg/ast: add call attributes --- 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 122fa514b..eccdda712 100644 --- a/pkg/ast/testdata/all.txt +++ b/pkg/ast/testdata/all.txt @@ -23,6 +23,12 @@ str_flags4 = "string", 42 ### unexpected int, expecting string, hex string call(foo ,int32 , bar int32) ### unexpected ',', expecting int, identifier, string call(foo int32:"bar") ### unexpected string, expecting int, identifier call(a int32, b len[a:"bar"]) ### unexpected string, expecting int, identifier +call() (attr) +call() (attr1, attr2[arg1, "arg2"]) +call() ("attr1") +call() (42) +call() ( ### unexpected '\n', expecting int, identifier, string +call() () ### unexpected ')', expecting int, identifier, string define FOO bar -- cgit mrf-deployment