Add "Generated by ..." message to the generated parsers.

redux
David Majda 15 years ago
parent f37ca3fcdb
commit a86e06a216

@ -441,6 +441,8 @@ PEG.Compiler = {
var source = this.formatCode(
"(function(){",
" /* Generated by PEG.js (http://pegjs.majda.cz/). */",
" ",
" var result = {",
" _startRule: ${startRule|string},",
" ",

@ -1,4 +1,6 @@
PEG.grammarParser = (function(){
/* Generated by PEG.js (http://pegjs.majda.cz/). */
var result = {
_startRule: "grammar",

Loading…
Cancel
Save