diff --git a/src/peg.js b/src/peg.js index af591a7..fd6522f 100644 --- a/src/peg.js +++ b/src/peg.js @@ -31,7 +31,7 @@ var PEG = { /* Thrown when the grammar contains an error. */ PEG.GrammarError = function(message) { - this.name = "PEG.GrammarError"; + this.name = "GrammarError"; this.message = message; };