diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-05-10 17:15:29 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-14 19:28:01 +0200 |
| commit | 1886b2a4811a4d9adbfc509505a095848cc655eb (patch) | |
| tree | 8ab666c6f9ea59912d911abd5639480eae534eda /pkg/ast/testdata | |
| parent | 354b388e08761dabb99236aa73a24e9b861b6e5f (diff) | |
pkg/ast: refactor COLON handling
This prepared for handling of bytesize[parent:foo:bar] expressions
by allowing multiple identifiers after colon.
No functional changes for now, just preparation for storing more
than one identifier after colon.
Diffstat (limited to 'pkg/ast/testdata')
| -rw-r--r-- | pkg/ast/testdata/all.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt index 6e4e72d2c..e5a1839dd 100644 --- a/pkg/ast/testdata/all.txt +++ b/pkg/ast/testdata/all.txt @@ -27,6 +27,7 @@ define FOO `bar` define FOO `bar ### C expression is not terminated foo(x int32[1:2:3, opt]) ### unexpected ':', expecting ']' +foo2(x int32[1[2]:2]) ### unexpected ':', expecting ']' s0 { f0 string[""] |
