summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-04-24 23:40:42 +0000
committerglx <glx@openttd.org>2008-04-24 23:40:42 +0000
commit5e7191665222af49b42074c2c0d62b8e9fe3fd42 (patch)
tree465e08ed8b8534a2b7ffa6fc5a30800de5d6a92b /projects
parent1474ca1dd40824810e038ac9653ed2838ef7101a (diff)
downloadopenttd-5e7191665222af49b42074c2c0d62b8e9fe3fd42.tar.xz
(svn r12881) -Fix (r12770): the check for missing header files could find more files than needed
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/generate.vbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/generate.vbs b/projects/generate.vbs
index fe6e0187b..9ca4a97aa 100755
--- a/projects/generate.vbs
+++ b/projects/generate.vbs
@@ -52,12 +52,12 @@ Sub get_files(srcdir, dir, list)
' pattern for files to keep
Set rekeep = New RegExp
- rekeep.Pattern = "\.h"
+ rekeep.Pattern = "\.h(pp)?$"
rekeep.Global = True
' pattern for files to exclude
Set reskip = New RegExp
- reskip.Pattern = "\.svn|\.hpp\.sq"
+ reskip.Pattern = "\.svn"
reskip.Global = True
For Each file in dir.Files