X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Fprogs-analyzer.pl;h=e1594f1d7939eb028a5f1950f9eaabd78ab78062;hb=c10826e75fbc64afc7e69bda232d80e9517ffdde;hp=f9c6411d3005c52c58283aab13afefb93c95bac7;hpb=b4687ec0d63d2aceba8b30f22bd884644d4ac681;p=xonotic%2Fxonotic.git diff --git a/misc/tools/progs-analyzer.pl b/misc/tools/progs-analyzer.pl index f9c6411d..e1594f1d 100644 --- a/misc/tools/progs-analyzer.pl +++ b/misc/tools/progs-analyzer.pl @@ -278,8 +278,9 @@ sub run_nfa($$$$$$) { my $def = $progs->{globaldef_byoffset}->($func); last - if $def->{debugname} eq 'error'; + if $def->{debugname} eq '_error'; } + $ip += 1; } elsif($c->{isjump}) { @@ -1021,7 +1022,7 @@ sub parse_progs($) { next if $globaldefs{$_->{debugname}} <= 1; - print "Not unique: $_->{debugname} at $_->{ofs}\n"; + #print "Not unique: $_->{debugname} at $_->{ofs}\n"; $_->{debugname} .= "\@$_->{ofs}"; } $p{globaldef_byoffset} = sub