Browse Source

* Update for constexprint changes.

git-svn-id: trunk@7915 -
daniel 18 years ago
parent
commit
3029d2393a
1 changed files with 9 additions and 1 deletions
  1. 9 1
      compiler/utils/ppudump.pp

+ 9 - 1
compiler/utils/ppudump.pp

@@ -25,6 +25,7 @@ program ppudump;
 
 
 uses
 uses
   SysUtils,
   SysUtils,
+  constexp,
   ppu,
   ppu,
   globals,
   globals,
   tokens;
   tokens;
@@ -519,6 +520,13 @@ begin
    end;
    end;
 end;
 end;
 
 
+function getexprint:Tconstexprint;
+
+begin
+  getexprint.overflow:=false;
+  getexprint.signed:=boolean(ppufile.getbyte);
+  getexprint.svalue:=ppufile.getint64;
+end;
 
 
 Procedure ReadPosInfo;
 Procedure ReadPosInfo;
 var
 var
@@ -1718,7 +1726,7 @@ begin
                scurrency : writeln('ucurrency');
                scurrency : writeln('ucurrency');
                else        writeln('!! Warning: Invalid base type ',b);
                else        writeln('!! Warning: Invalid base type ',b);
              end;
              end;
-             writeln(space,'            Range : ',getint64,' to ',getint64);
+             writeln(space,'            Range : ',constexp.tostr(getexprint),' to ',constexp.tostr(getexprint));
            end;
            end;
 
 
          ibfloatdef :
          ibfloatdef :