Forgot to do it in f8b5e04bba.
f8b5e04bba
@ -260,9 +260,10 @@ module.exports = (function() {
peg$c97 = { type: "literal", value: "-", description: "\"-\"" },
peg$c98 = function(begin, end) {
if (begin.data.charCodeAt(0) > end.data.charCodeAt(0)) {
throw new this.SyntaxError(
error(
"Invalid character range: " + begin.rawText + "-" + end.rawText + "."
);
return;
}
return {