uqmi: update code generator
[project/uqmi.git] / data / gen-error-list.pl
index 770c162522b61aaaa67b0c883bd078b7aedb6aa1..40204da8481797e21c3a06423f4322628dfe5156 100755 (executable)
@@ -22,7 +22,7 @@ while ($line = <>) {
        };
        undef $doc_start;
 
-       $line =~ /^\s*\*\s*@(.+): (.+)\./ and push @errors, [ $1, $2 ];
+       $line =~ /^.*@([A-Z0-9_]+): ([A-z0-9 ]+)[.].*$/ and push @errors, [ $1, $2 ];
 }
 
 @errors > 0 or die "No data found\n";