summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2016-06-02 19:05:59 +0000
committerDart Raiden <wowemuh@gmail.com>2016-06-02 19:05:59 +0000
commit4f96d92b598b8c31505d9f5aec2ccafa623b4b89 (patch)
tree722a1282b055b8ccd3525e16af7ded8d60d06674 /tools
parent2da44572c7f847664ed7568478c4dc8695909b21 (diff)
lpgen: add some exceptions
git-svn-id: http://svn.miranda-ng.org/main/trunk@16905 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 f6276d3a12..1da35dda7c 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -430,7 +430,7 @@ function ParseRCFile(FileTextVar,array) {
//now make a job, till end of matching regexp
while ((string = find.exec(FileTextVar)) != null) {
// check for some garbage like "List1","Tab1" etc. in *.rc files, we do not need this.
- onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|ICQ|Jabber|WhatsApp|OSD|Google|Miranda NG|SMS|Miranda|Windows|&\w)|(%.(.*%)?))$/g,"");
+ onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|Google|ICQ|Jabber|Miranda|Miranda NG|OSD|SMS|WhatsApp|Windows|x64|x86|&\w)|(%.(.*%)?))$/g,"");
// ignore some popup menu craps
if (string[1]=="POPUP" && onestring.match(/^([a-zA-Z ]*(menu|context|popup(?!s)))|([A-Z][a-z]+([A-Z][a-z]*)+)|(new item)$/g))
continue;