mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-08 14:37:09 +00:00
better mark warnings
This commit is contained in:
parent
b6f053a531
commit
1489c4a3ee
@ -491,7 +491,7 @@ sub disassemble_function($$;$)
|
|||||||
for(@$_)
|
for(@$_)
|
||||||
{
|
{
|
||||||
print PRE_MARK_STATEMENT;
|
print PRE_MARK_STATEMENT;
|
||||||
printf INSTRUCTION_FORMAT, '', '', '.WARN';
|
printf INSTRUCTION_FORMAT, '', '<!>', '.WARN';
|
||||||
printf OPERAND_FORMAT, "$_ (in $func->{debugname})";
|
printf OPERAND_FORMAT, "$_ (in $func->{debugname})";
|
||||||
print INSTRUCTION_SEPARATOR;
|
print INSTRUCTION_SEPARATOR;
|
||||||
}
|
}
|
||||||
@ -502,7 +502,7 @@ sub disassemble_function($$;$)
|
|||||||
if $highlight and $highlight->{$ip};
|
if $highlight and $highlight->{$ip};
|
||||||
|
|
||||||
my $showip = $opprop->{isjump};
|
my $showip = $opprop->{isjump};
|
||||||
printf INSTRUCTION_FORMAT, $showip ? $ip : '', $highlight->{$ip} ? "<!>" : "", $op;
|
printf INSTRUCTION_FORMAT, $showip ? $ip : '', $highlight->{$ip} ? '<!>' : '', $op;
|
||||||
|
|
||||||
my $cnt = 0;
|
my $cnt = 0;
|
||||||
for my $o(qw(a b c))
|
for my $o(qw(a b c))
|
||||||
|
Loading…
Reference in New Issue
Block a user