aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-03-07 12:38:08 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2021-03-08 01:37:28 +0100
commitb988815bf0771dd86a345ce8ed8b0d3eb9d6f55e (patch)
treefed9a51f338b4ada0bbebf6314bba22482813361 /src/codegen/spirv.zig
parentd01bb211732f1d0aebf558c43825a52254d034ab (diff)
downloadzig-b988815bf0771dd86a345ce8ed8b0d3eb9d6f55e.tar.gz
zig-b988815bf0771dd86a345ce8ed8b0d3eb9d6f55e.zip
parser: fix parsing/rendering of a[b.. :c] slicing
The modification to the grammar in the comment is in line with the grammar in the zig-spec repo. Note: checking if the previous token is a colon is insufficent to tell if a block has a label, the identifier must be checked for as well. This can be seen in sentinel terminated slicing: `foo[0..1:{}]`
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions