Merge branch 'master' of github.com:r0ket/r0ket
This commit is contained in:
commit
ecc8a0e0fb
|
@ -47,14 +47,14 @@ sub wanted {
|
|||
open(F,"<",$_) || die;
|
||||
while(<F>){
|
||||
chomp;s/\r$//;
|
||||
if(m!^[^(]* ([\w]+)\s*\(.*\);\s*(//.*)?$!){
|
||||
if(m!^[^(]* ([\w]+)\s*\(.*\);\s*(//.*)?(/\*[^/]*\*/)?$!){
|
||||
$id=$1;
|
||||
s/$id/(*)/;
|
||||
s/;//;
|
||||
s!//.*!!;
|
||||
$types{$id}="*($_)";
|
||||
$files{$id}=$File::Find::name;
|
||||
}elsif (m!^\s*extern\s[^(]* ([\w]+)\s*(\[\w*\]\s*)?;\s*(//.*)?$!){
|
||||
}elsif (m!^\s*extern\s[^(]* ([\w]+)\s*(\[\w*\]\s*)?;\s*(//.*)?(/\*[^/]*\*/)?$!){
|
||||
$id=$1;
|
||||
s/extern //;
|
||||
my $star="*";
|
||||
|
|
Loading…
Reference in New Issue