Skip to content
Snippets Groups Projects
Commit 71ec7780 authored by Thomas.Roehl's avatar Thomas.Roehl
Browse files

Fix group map creation if group file secion names are inside event name. Fixes issue 175

parent 6e706e6c
No related branches found
No related tags found
No related merge requests found
......@@ -57,15 +57,15 @@ while (defined(my $arch = readdir(DIR))) {
while (<FILE>) {
my $line = $_;
if($line =~ /SHORT[ ]+(.+)/) {
if($line =~ /^SHORT[ ]+(.+)/) {
$shortHelp = $1;
} elsif ($line =~ /EVENTSET/) {
} elsif ($line =~ /^EVENTSET/) {
$isInSet = 1;
} elsif ($line =~ /METRICS/) {
} elsif ($line =~ /^METRICS/) {
$isInSet = 0;
$isInMetrics = 1;
$eventSet =~ s/,$//;
} elsif ($line =~ /LONG/) {
} elsif ($line =~ /^LONG/) {
$isInSet = 0;
$isInMetrics = 0;
$isInLong = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment