Add "Generated by ..." message to the generated parsers.
This commit is contained in:
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…
Reference in a new issue