]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/progs-analyzer.pl
IMMEDIATE: Ceci n'est pas un nom.
[xonotic/xonotic.git] / misc / tools / progs-analyzer.pl
index bc0e8694fd90c3b0639fa15e02c4b0da8bd0ad8a..ff6edec11065dbf16ef81700a8343f56b28e8d72 100644 (file)
@@ -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;
        }