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

redux
David Majda 14 years ago
parent aca15d6f36
commit 9917f79991

@ -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 = {",
" /*",

@ -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 = {
/*

Loading…
Cancel
Save