|
@@ -1816,6 +1816,7 @@ implementation
|
|
end;
|
|
end;
|
|
constreal :
|
|
constreal :
|
|
begin
|
|
begin
|
|
|
|
+ ppufile.getderef(constdefderef);
|
|
new(pd);
|
|
new(pd);
|
|
pd^:=ppufile.getreal;
|
|
pd^:=ppufile.getreal;
|
|
value.valueptr:=pd;
|
|
value.valueptr:=pd;
|
|
@@ -1860,14 +1861,14 @@ implementation
|
|
|
|
|
|
procedure tconstsym.buildderef;
|
|
procedure tconstsym.buildderef;
|
|
begin
|
|
begin
|
|
- if consttyp in [constord,constpointer,constset] then
|
|
|
|
|
|
+ if consttyp in [constord,constreal,constpointer,constset] then
|
|
constdefderef.build(constdef);
|
|
constdefderef.build(constdef);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure tconstsym.deref;
|
|
procedure tconstsym.deref;
|
|
begin
|
|
begin
|
|
- if consttyp in [constord,constpointer,constset] then
|
|
|
|
|
|
+ if consttyp in [constord,constreal,constpointer,constset] then
|
|
constdef:=tdef(constdefderef.resolve);
|
|
constdef:=tdef(constdefderef.resolve);
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -1900,7 +1901,10 @@ implementation
|
|
ppufile.putdata(pchar(value.valueptr)^,value.len);
|
|
ppufile.putdata(pchar(value.valueptr)^,value.len);
|
|
end;
|
|
end;
|
|
constreal :
|
|
constreal :
|
|
- ppufile.putreal(pbestreal(value.valueptr)^);
|
|
|
|
|
|
+ begin
|
|
|
|
+ ppufile.putderef(constdefderef);
|
|
|
|
+ ppufile.putreal(pbestreal(value.valueptr)^);
|
|
|
|
+ end;
|
|
constset :
|
|
constset :
|
|
begin
|
|
begin
|
|
ppufile.putderef(constdefderef);
|
|
ppufile.putderef(constdefderef);
|