From 605a3ff052defc3e41542204b0579e528d81ad72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 17 Jul 2022 00:21:28 +0200 Subject: makedeps: Fix regular expression. --- makedeps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makedeps') diff --git a/makedeps b/makedeps index 79c392e..829d389 100644 --- a/makedeps +++ b/makedeps @@ -17,7 +17,7 @@ while (my $f = glob("c/*.cpp")) { while ($_ = <$gh>) { next if /^$/; goto n if not /#/; - print $fh " c/$1" if /^#include\s+"([^"]+)"/; + print $fh " c/$1" if /^#include\s*"([^"]+)"/; } n: print $fh "\n"; -- cgit v1.2.3