Commit 35d7b1ef authored by David Faure's avatar David Faure
Browse files

Add support for classes defined in the .cpp file

parent f26db2d5
...@@ -520,6 +520,9 @@ foreach my $file (@ARGV) { ...@@ -520,6 +520,9 @@ foreach my $file (@ARGV) {
#warn "it's an header class\n"; #warn "it's an header class\n";
$headerclassname = $currentClass; $headerclassname = $currentClass;
} }
} elsif ( /^\s*class ([:\w]+)/) {
# class defined in the .cpp file
$headerclassname = $1;
} }
# Verify comment # Verify comment
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment