Skip to content

Commit 53d3368

Browse files
authored
Merge pull request #20 from albert-github/feature/bug_package
Detection of package name
2 parents 185545a + e56ffd8 commit 53d3368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doxygen/Filter/Perl.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ sub ProcessFile
258258
# Process states
259259
if ($self->{'_sState'} eq 'NORMAL')
260260
{
261-
if ($line =~ /^\s*package\s*(.*)\;$/)
261+
if ($line =~ /^\s*package\s*([^;]*)\;/)
262262
{
263263
#$self->{'_sCurrentClass'} = $1;
264264
#push (@{$self->{'_hData'}->{'class'}->{'classorder'}}, $1);

0 commit comments

Comments
 (0)