summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBasil <basil@miranda-ng.org>2013-01-30 13:20:34 +0000
committerBasil <basil@miranda-ng.org>2013-01-30 13:20:34 +0000
commita4c9bc8f67412e26440d25c975d51b80ef580dcb (patch)
tree144fbcb873888ceff10a1c69ca5cfc60d42984cc /tools
parentf96de925cc2c5404f5e91d7a27d9e79e5643c926 (diff)
even more precise version.h parsing.
Two plugins uses __PLUGIN_DESC define :-) git-svn-id: http://svn.miranda-ng.org/main/trunk@3364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/lpgen/lpgen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js
index a7e3b2636c..8a346e211b 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -520,7 +520,7 @@ var MAJOR_VERSION=/(?:#define\s+__MAJOR_VERSION\s+)(\d+)/i;
var MINOR_VERSION=/(?:#define\s+__MINOR_VERSION\s+)(\d+)/i;
var RELEASE_NUM=/(?:#define\s+__RELEASE_NUM\s+)(\d+)/i;
var BUILD_NUM=/(?:#define\s+__BUILD_NUM\s+)(\d+)/i;
-var description=/(?:#define\s+__DESC(?:RIPTION)?\s+")(.+)(?=")/i;
+var description=/(?:#define\s+__(?:PLUGIN_)?DESC(?:RIPTION)?\s+")(.+)(?=")/i;
//exec RegExps
filename=filename.exec(allstrings);
pluginname=pluginname.exec(allstrings);