summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-04-29 20:16:31 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-04-29 20:16:31 +0000
commit49b972198fbd51811a6c306d2e9393e0e5cd6bec (patch)
tree255ce520346c3dc262a2205b7bb5794c73859f87
parent321c65dd3c12a292127aed7ec0b86570e7b00140 (diff)
downloadfpc-49b972198fbd51811a6c306d2e9393e0e5cd6bec.tar.gz
Also check *.pas and *.inc files inside sub-directories in msgused.pl
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@49292 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/utils/msgused.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/msgused.pl b/compiler/utils/msgused.pl
index 6ac46d655b..370eccddd1 100644
--- a/compiler/utils/msgused.pl
+++ b/compiler/utils/msgused.pl
@@ -4,8 +4,8 @@
unlink("./msgidx.inc");
unlink("./msgtxt.inc");
-@compiler_src = (glob("./*.inc"),
- glob("./*.pas"));
+@compiler_src = (glob("./*.inc"),glob("./*/*.inc"),
+ glob("./*.pas"),glob("./*/*.pas"));
open(MESSAGE_FILE, "< ./msg/errore.msg") or
die "Couldn't open <./msg/errore.msg> for reading: $!\n";