Ensure VERSION is consistent
The PEG.js version is exported and also written into the generated parser. In both these instances the version is a separate string, which means every time the version is bumped, it has to be changed in 3 places. This commit makes it slightly less of a maintenance burden.master
parent
ecb81504cb
commit
95abd42c95
@ -0,0 +1,8 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PEG.js version (uses semantic versioning).
|
||||||
|
*/
|
||||||
|
const VERSION = "0.11.0-dev";
|
||||||
|
|
||||||
|
module.exports = VERSION;
|
Loading…
Reference in New Issue