From 420462d6640d22e5d93322fc80202b3c8e51241b Mon Sep 17 00:00:00 2001 From: Basil Date: Wed, 30 Jan 2013 12:50:59 +0000 Subject: more precise version.h parsing, description on plugins option page defined not only as __DESCRIPTION, but also simply __DESC git-svn-id: http://svn.miranda-ng.org/main/trunk@3361 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 dd7d45a0db..a7e3b2636c 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+__DESCRIPTION\s+")(.+)(?=")/i; +var description=/(?:#define\s+__DESC(?:RIPTION)?\s+")(.+)(?=")/i; //exec RegExps filename=filename.exec(allstrings); pluginname=pluginname.exec(allstrings); -- cgit v1.2.3