diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-04-13 13:05:16 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-04-19 10:26:57 +0200 |
| commit | a116470dc3f3852a062312c93ebc8f2452027133 (patch) | |
| tree | 02d734adc15cd1f6c930c7ac6ba3a3f0ac055c72 /pkg/ast/testdata | |
| parent | 365fba2440cee3aed74c774867a1f43e3e2f7aac (diff) | |
pkg/ast: add call attributes
Diffstat (limited to 'pkg/ast/testdata')
| -rw-r--r-- | pkg/ast/testdata/all.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
