From a4c9bc8f67412e26440d25c975d51b80ef580dcb Mon Sep 17 00:00:00 2001 From: Basil Date: Wed, 30 Jan 2013 13:20:34 +0000 Subject: 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 --- tools/lpgen/lpgen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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); -- cgit v1.2.3