in src/parser.ts [186:198]
tolerateError(messageFormat, ...values) {
const args = Array.prototype.slice.call(arguments, 1);
const msg = messageFormat.replace(/%(\d)/g, (whole, idx) => {
assert(idx < args.length, 'Message reference must be in range');
return args[idx];
}
);
const index = this.lastMarker.index;
const line = this.scanner.lineNumber;
const column = this.lastMarker.column + 1;
this.errorHandler.tolerateError(index, line, column, msg);
}