summaryrefslogtreecommitdiff
path: root/projects/generate.vbs
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
commit1d9dbd940162ebe84d981ffdd8cea2c78bc0fc48 (patch)
tree465e08ed8b8534a2b7ffa6fc5a30800de5d6a92b /projects/generate.vbs
parent4ac6655bad6975638afd1772f1f05f16857be207 (diff)
downloadopenttd-1d9dbd940162ebe84d981ffdd8cea2c78bc0fc48.tar.xz
(svn r12881) -Fix (r12770): the check for missing header files could find more files than needed
Diffstat (limited to 'projects/generate.vbs')
-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