summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.js
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2014-02-06 13:16:29 +0000
committerDart Raiden <wowemuh@gmail.com>2014-02-06 13:16:29 +0000
commit7b650d2f7a3a852c85bf2dc49373bca8a1fbd67e (patch)
treec5daf0a9e9e0b027cd9d2a557d1c6b74c0698d8f /tools/lpgen/lpgen.js
parent38695f9819233fa62b1b844146a7996be97ab846 (diff)
lpgen.js: now it handle RADIOBUTTON (thanks BasiL)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.js')
-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 5b730ef01e..9c0443c52d 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -415,7 +415,7 @@ function ParseFiles (filelist,stringsarray, parsefunction) {
//*.RC files line-by-line parser for RC_File, return result into "array"
function ParseRCFile(FileTextVar,array) {
- var find=/^(?!\/{1,2})\s*(CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|AUTORADIOBUTTON|GROUPBOX|(?:AUTO)?CHECKBOX|CAPTION|MENUITEM|POPUP)\s*"((?:(?:""[^"]+?"")*[^"]*?)*)"\s*?(,|$|\\)/mgi;
+ var find=/^(?!\/{1,2})\s*(CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|(?:AUTO)?RADIOBUTTON|GROUPBOX|(?:AUTO)?CHECKBOX|CAPTION|MENUITEM|POPUP)\s*"((?:(?:""[^"]+?"")*[^"]*?)*)"\s*?(,|$|\\)/mgi;
//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.