Browse Source

Remove now mostly useless comment headers from the code

redux
David Majda 11 years ago
parent
commit
a42b957573
  1. 4
      src/compiler.js
  2. 8
      src/peg.js

4
src/compiler.js

@ -1,5 +1,3 @@
/* ===== PEG.compiler ===== */
PEG.compiler = {
/*
* Generates a parser from a specified grammar AST. Throws |PEG.GrammarError|
@ -33,8 +31,6 @@ PEG.compiler = {
}
};
/* ===== Includes ===== */
// @include "checks.js"
// @include "passes.js"
// @include "emitter.js"

8
src/peg.js

@ -1,7 +1,5 @@
(function(global, undefined) {
/* ===== PEG ===== */
var PEG = {
/*
* Generates a parser from a specified grammar and returns it.
@ -19,8 +17,6 @@ var PEG = {
}
};
/* ===== PEG.GrammarError ===== */
/* Thrown when the grammar contains an error. */
PEG.GrammarError = function(message) {
@ -30,14 +26,10 @@ PEG.GrammarError = function(message) {
PEG.GrammarError.prototype = Error.prototype;
/* ===== Includes ===== */
// @include "utils.js"
// @include "parser.js"
// @include "compiler.js"
/* ===== Export ===== */
global.PEG = PEG;
})(this);
Loading…
Cancel
Save