Add PEG.js version to "Generated by..." line in generated parsers
This commit is contained in:
parent
aca15d6f36
commit
9917f79991
|
@ -109,7 +109,7 @@ PEG.compiler.emitter = function(ast) {
|
||||||
|
|
||||||
return formatCode(
|
return formatCode(
|
||||||
"(function(){",
|
"(function(){",
|
||||||
" /* Generated by PEG.js (http://pegjs.majda.cz/). */",
|
" /* Generated by PEG.js @VERSION (http://pegjs.majda.cz/). */",
|
||||||
" ",
|
" ",
|
||||||
" var result = {",
|
" var result = {",
|
||||||
" /*",
|
" /*",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
PEG.parser = (function(){
|
PEG.parser = (function(){
|
||||||
/* Generated by PEG.js (http://pegjs.majda.cz/). */
|
/* Generated by PEG.js 0.6.0pre (http://pegjs.majda.cz/). */
|
||||||
|
|
||||||
var result = {
|
var result = {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue