Fix wrong version reported by "bin/pegjs --version"

DRY: Now the version is stored only in the VERSION file.
This commit is contained in:
David Majda 2010-11-14 17:14:10 +01:00
parent 4ea2003b7b
commit 977d1d20c7

View file

@ -45,7 +45,7 @@ function isOption(arg) {
} }
function printVersion() { function printVersion() {
print("PEG.js 0.1"); print("PEG.js " + PEG.VERSION);
} }
function printHelp() { function printHelp() {