// i must point at the (possibly imaginary) opening bracket ("{") // index returned is token after closing bracket (or >= l(tok)) static int tok_scanBlock_idx(LS tok, int i) { ret tok_findEndOfBlock(tok, i)+1; }