From: Rudolf Polzer Date: Wed, 2 May 2012 10:13:44 +0000 (+0200) Subject: IMMEDIATE: Ceci n'est pas un nom. X-Git-Tag: xonotic-v0.7.0~55^2~22 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=16e64e8fe3ee1595fcc85da57a939a3123f6c487;p=xonotic%2Fxonotic.git IMMEDIATE: Ceci n'est pas un nom. --- diff --git a/misc/tools/progs-analyzer.pl b/misc/tools/progs-analyzer.pl index bc0e8694..ff6edec1 100644 --- a/misc/tools/progs-analyzer.pl +++ b/misc/tools/progs-analyzer.pl @@ -954,6 +954,8 @@ sub detect_constants($) { my $type = $_->{type}; my $name = $progs->{getstring}->($_->{s_name}); + $name = '' + if $name eq 'IMMEDIATE'; if($type->{save}) { for my $i(0..(typesize($_->{type}{type})-1)) @@ -1050,6 +1052,8 @@ sub detect_constants($) for(@{$progs->{globaldefs}}) { my $s = $progs->{getstring}->($_->{s_name}); + $s = '' + if $s eq 'IMMEDIATE'; $_->{debugname} //= "\$" . "$s" if length $s; }