From 16e64e8fe3ee1595fcc85da57a939a3123f6c487 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 2 May 2012 12:13:44 +0200 Subject: [PATCH] IMMEDIATE: Ceci n'est pas un nom. --- misc/tools/progs-analyzer.pl | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.2