src/t-reader.js
function expect($, type) {
    if (!accept($, type)) {
        let token = $.tokens[$.pos];
        throw Tools.syntaxError("Unexpected token", token.start);
    }
}
function expect($, type) {
    if (!accept($, type)) {
        let token = $.tokens[$.pos];
        throw Tools.syntaxError("Unexpected token", token.start);
    }
}
(object, string) => undefined