Add PEG.js version to "Generated by..." line in generated parsers

This commit is contained in:
David Majda 2011-04-02 10:37:45 +02:00
parent aca15d6f36
commit 9917f79991
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ PEG.compiler.emitter = function(ast) {
return formatCode(
"(function(){",
" /* Generated by PEG.js (http://pegjs.majda.cz/). */",
" /* Generated by PEG.js @VERSION (http://pegjs.majda.cz/). */",
" ",
" var result = {",
" /*",

View file

@ -1,5 +1,5 @@
PEG.parser = (function(){
/* Generated by PEG.js (http://pegjs.majda.cz/). */
/* Generated by PEG.js 0.6.0pre (http://pegjs.majda.cz/). */
var result = {
/*