New release

This commit is contained in:
Knut Sveidqvist
2016-05-29 19:18:04 +02:00
parent 0ab0be01c2
commit d8929db208
28 changed files with 41 additions and 59026 deletions

View File

@@ -311,9 +311,13 @@ parseError: function parseError(str, hash) {
if (hash.recoverable) {
this.trace(str);
} else {
var error = new Error(str);
error.hash = hash;
throw error;
function _parseError (msg, hash) {
this.message = msg;
this.hash = hash;
}
_parseError.prototype = Error;
throw new _parseError(str, hash);
}
},
parse: function parse(input) {