summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/HPMHookGen/HPMHookGen.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl
index 1d6a3e122..75dd51736 100755
--- a/tools/HPMHookGen/HPMHookGen.pl
+++ b/tools/HPMHookGen/HPMHookGen.pl
@@ -359,6 +359,7 @@ foreach my $file (@files) { # Loop through the xml files
my $bstart = $b->{location}->[0]->{bodystart} || $b->{location}->[0]->{line};
$astart <=> $bstart
} @$memberdef) { # Loop through the members
+ next unless $f->{kind} eq 'variable'; # Skip macros
my $t = $f->{argsstring}->[0];
my $def = $f->{definition}->[0];
if ($f->{type}->[0] =~ /^\s*LoginParseFunc\s*\*\s*$/) {