diff --git a/bin/pegjs b/bin/pegjs index 89bbe50..38d6d6b 100755 --- a/bin/pegjs +++ b/bin/pegjs @@ -4,7 +4,7 @@ var sys = require("sys"); var fs = require("fs"); var PEG = require("../lib/peg"); -/* ===== Helpers ===== */ +/* Helpers */ function printVersion() { sys.puts("PEG.js " + PEG.VERSION); @@ -40,7 +40,7 @@ function abort(message) { exitFailure(); } -/* ===== Arguments ===== */ +/* Arguments */ var args = process.argv.slice(2); // Trim "node" and the script path. @@ -52,7 +52,7 @@ function nextArg() { args.shift(); } -/* ===== Files ===== */ +/* Files */ function readStream(inputStream, callback) { var input = ""; @@ -60,7 +60,7 @@ function readStream(inputStream, callback) { inputStream.on("end", function() { callback(input); }); } -/* ===== Main ===== */ +/* Main */ /* This makes the generated parser a CommonJS module by default. */ var exportVar = "exports.parser"; diff --git a/test/run b/test/run index e40d2c7..02f562b 100755 --- a/test/run +++ b/test/run @@ -79,7 +79,7 @@ QUnit.done = function(details) { "parser-test.js", "checks-test.js", "passes-test.js", - "compiler-test.js" + "compiler-test.js", ].forEach(function(file) { eval("with (QUnit) {" + fs.readFileSync(file, "utf-8") + "}"); });