diff options
-rw-r--r-- | Porting/expand-macro.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/expand-macro.pl b/Porting/expand-macro.pl index 624e7dcdb4..caa4b472e1 100644 --- a/Porting/expand-macro.pl +++ b/Porting/expand-macro.pl @@ -24,7 +24,7 @@ if (!@ARGV) { my $args = ''; while (<>) { - next unless /^#\s*define\s+$macro/; + next unless /^#\s*define\s+$macro\b/; my ($def_args) = /^#\s*define\s+$macro\(([^)]*)\)/; if (defined $def_args) { my @args = split ',', $def_args; |