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:{}]`
b988815bf0Isaac Freund committed on 3/8/2021, 12:37:28 AMparentd01bb21
5 files changedLine totals unavailable