std/zig/ast: fix Tree.lastToken() for blocks

The fact that blocks may end in a semicolon but this semicolon is not
counted by recursive lastToken() evaluation on the sub expression causes
off-by-one errors for lastToken() on blocks currently.

To fix this, introduce BlockSemicolon and BlockTwoSemicolon following
the pattern used for trailing commas in e.g. builtin function arguments.
57cec38e61Isaac Freund committed on 2/7/2021, 10:51:37 PM· committed by Andrew Kelleyparent0e38362
4 files changedLine totals unavailable