From 8d74248251b515975720787c2abce32b84c25281 Mon Sep 17 00:00:00 2001 From: David Majda Date: Mon, 16 Apr 2012 14:49:48 +0200 Subject: [PATCH] Make "Generated by ..." comment match the copyright comment --- src/emitter.js | 6 +++++- src/parser.js | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/emitter.js b/src/emitter.js index 0841d16..e174db2 100644 --- a/src/emitter.js +++ b/src/emitter.js @@ -263,7 +263,11 @@ PEG.compiler.emitter = function(ast, options) { sources = { grammar: [ '(function(){', - ' /* Generated by PEG.js @VERSION (http://pegjs.majda.cz/). */', + ' /*', + ' * Generated by PEG.js @VERSION.', + ' *', + ' * http://pegjs.majda.cz/', + ' */', ' ', /* This needs to be in sync with |quote| in utils.js. */ ' function quote(s) {', diff --git a/src/parser.js b/src/parser.js index 7cb4fc2..c528a45 100644 --- a/src/parser.js +++ b/src/parser.js @@ -1,5 +1,9 @@ PEG.parser = (function(){ - /* Generated by PEG.js 0.6.2 (http://pegjs.majda.cz/). */ + /* + * Generated by PEG.js 0.6.2. + * + * http://pegjs.majda.cz/ + */ function quote(s) { /*