Make |GrammarError| require work also in the browser version

Fixes a bug from ac179cda7b (a fix for
GH-135).
redux
David Majda 12 years ago
parent d61fd1792d
commit 549d052710

@ -1,5 +1,5 @@
var utils = require("../../utils"),
GrammarError = require("../../grammar-error.js");
GrammarError = require("../../grammar-error");
/* Checks that no left recursion is present. */
module.exports = function(ast) {

@ -1,5 +1,5 @@
var utils = require("../../utils"),
GrammarError = require("../../grammar-error.js");
GrammarError = require("../../grammar-error");
/* Checks that all referenced rules exist. */
module.exports = function(ast) {

Loading…
Cancel
Save