support C99 comments in proxy driver code generator
This commit is contained in:
parent
7f1c667910
commit
5c44732fd9
|
@ -77,7 +77,7 @@ while (<$inh>) {
|
||||||
}
|
}
|
||||||
close($inh);
|
close($inh);
|
||||||
|
|
||||||
$cont =~ s,\n, ,g;
|
$cont =~ s,(?://.*)?\n, ,g;
|
||||||
$cont =~ s,/\*.*?\*/, ,g;
|
$cont =~ s,/\*.*?\*/, ,g;
|
||||||
$cont =~ s,\h+, ,g;
|
$cont =~ s,\h+, ,g;
|
||||||
my @ptypes = map { s,^ ,,r } split(/;/, $cont);
|
my @ptypes = map { s,^ ,,r } split(/;/, $cont);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user