From 49b972198fbd51811a6c306d2e9393e0e5cd6bec Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 29 Apr 2021 20:16:31 +0000 Subject: 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 --- compiler/utils/msgused.pl | 4 ++-- 1 file 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"; -- cgit v1.2.1