support C99 comments in proxy driver code generator

This commit is contained in:
Oswald Buddenhagen 2022-01-07 20:21:50 +01:00
parent 7f1c667910
commit 5c44732fd9

View File

@ -77,7 +77,7 @@ while (<$inh>) {
}
close($inh);
$cont =~ s,\n, ,g;
$cont =~ s,(?://.*)?\n, ,g;
$cont =~ s,/\*.*?\*/, ,g;
$cont =~ s,\h+, ,g;
my @ptypes = map { s,^ ,,r } split(/;/, $cont);