mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-04 18:09:37 +01:00
* New bunch of Gabor changes
This commit is contained in:
parent
17c2136ba6
commit
6b012c36f4
@ -1163,7 +1163,8 @@ end;
|
|||||||
Name:=sym^.consttype.def^.typesym^.name+'('+IntToStr(sym^.value)+')';
|
Name:=sym^.consttype.def^.typesym^.name+'('+IntToStr(sym^.value)+')';
|
||||||
constresourcestring,
|
constresourcestring,
|
||||||
conststring :
|
conststring :
|
||||||
Name:=''''+GetStr(PString(sym^.Value))+'''';
|
{ Name:=''''+GetStr(PString(sym^.Value))+'''';}
|
||||||
|
Name:=''''+StrPas(pointer(sym^.Value))+'''';
|
||||||
constreal:
|
constreal:
|
||||||
Name:=FloatToStr(PBestReal(sym^.Value)^);
|
Name:=FloatToStr(PBestReal(sym^.Value)^);
|
||||||
constbool:
|
constbool:
|
||||||
@ -1810,7 +1811,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.38 2000-04-20 08:52:01 pierre
|
Revision 1.39 2000-05-29 10:04:40 pierre
|
||||||
|
* New bunch of Gabor changes
|
||||||
|
|
||||||
|
Revision 1.38 2000/04/20 08:52:01 pierre
|
||||||
* allow to view objects having the same name
|
* allow to view objects having the same name
|
||||||
|
|
||||||
Revision 1.37 2000/03/14 15:04:19 pierre
|
Revision 1.37 2000/03/14 15:04:19 pierre
|
||||||
|
|||||||
@ -81,6 +81,9 @@ procedure def_halt(i : longint);
|
|||||||
Function def_status:boolean;
|
Function def_status:boolean;
|
||||||
Function def_comment(Level:Longint;const s:string):boolean;
|
Function def_comment(Level:Longint;const s:string):boolean;
|
||||||
function def_internalerror(i:longint):boolean;
|
function def_internalerror(i:longint):boolean;
|
||||||
|
procedure def_initsymbolinfo;
|
||||||
|
procedure def_donesymbolinfo;
|
||||||
|
procedure def_extractsymbolinfo;
|
||||||
{$ifdef DEBUG}
|
{$ifdef DEBUG}
|
||||||
{ allow easy stopping in GDB
|
{ allow easy stopping in GDB
|
||||||
using
|
using
|
||||||
@ -95,6 +98,10 @@ type
|
|||||||
tstatusfunction = function:boolean;
|
tstatusfunction = function:boolean;
|
||||||
tcommentfunction = function(Level:Longint;const s:string):boolean;
|
tcommentfunction = function(Level:Longint;const s:string):boolean;
|
||||||
tinternalerrorfunction = function(i:longint):boolean;
|
tinternalerrorfunction = function(i:longint):boolean;
|
||||||
|
|
||||||
|
tinitsymbolinfoproc = procedure;
|
||||||
|
tdonesymbolinfoproc = procedure;
|
||||||
|
textractsymbolinfoproc = procedure;
|
||||||
const
|
const
|
||||||
do_stop : tstopprocedure = def_stop;
|
do_stop : tstopprocedure = def_stop;
|
||||||
do_halt : thaltprocedure = def_halt;
|
do_halt : thaltprocedure = def_halt;
|
||||||
@ -102,7 +109,9 @@ const
|
|||||||
do_comment : tcommentfunction = def_comment;
|
do_comment : tcommentfunction = def_comment;
|
||||||
do_internalerror : tinternalerrorfunction = def_internalerror;
|
do_internalerror : tinternalerrorfunction = def_internalerror;
|
||||||
|
|
||||||
|
do_initsymbolinfo : tinitsymbolinfoproc = def_initsymbolinfo;
|
||||||
|
do_donesymbolinfo : tdonesymbolinfoproc = def_donesymbolinfo;
|
||||||
|
do_extractsymbolinfo : textractsymbolinfoproc = def_extractsymbolinfo;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -294,11 +303,25 @@ begin
|
|||||||
def_internalerror:=true;
|
def_internalerror:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure def_initsymbolinfo;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure def_donesymbolinfo;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure def_extractsymbolinfo;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.22 2000-05-10 13:40:19 peter
|
Revision 1.23 2000-05-29 10:04:40 pierre
|
||||||
|
* New bunch of Gabor changes
|
||||||
|
|
||||||
|
Revision 1.22 2000/05/10 13:40:19 peter
|
||||||
* -Se<x> option extended to increase errorcount for
|
* -Se<x> option extended to increase errorcount for
|
||||||
warning,notes or hints
|
warning,notes or hints
|
||||||
|
|
||||||
@ -322,4 +345,4 @@ end.
|
|||||||
* oldtp mode directives better supported
|
* oldtp mode directives better supported
|
||||||
* added some messages to errore.msg
|
* added some messages to errore.msg
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -114,9 +114,6 @@ uses
|
|||||||
{$ifdef BrowserLog}
|
{$ifdef BrowserLog}
|
||||||
browlog,
|
browlog,
|
||||||
{$endif BrowserLog}
|
{$endif BrowserLog}
|
||||||
{$ifdef BrowserCol}
|
|
||||||
browcol,
|
|
||||||
{$endif BrowserCol}
|
|
||||||
{$ifdef Delphi}
|
{$ifdef Delphi}
|
||||||
dmisc,
|
dmisc,
|
||||||
{$else Delphi}
|
{$else Delphi}
|
||||||
@ -181,7 +178,7 @@ begin
|
|||||||
DoneBrowserLog;
|
DoneBrowserLog;
|
||||||
{$endif BrowserLog}
|
{$endif BrowserLog}
|
||||||
{$ifdef BrowserCol}
|
{$ifdef BrowserCol}
|
||||||
DoneBrowserCol;
|
do_doneSymbolInfo;
|
||||||
{$endif BrowserCol}
|
{$endif BrowserCol}
|
||||||
if CompilerInitedAfterArgs then
|
if CompilerInitedAfterArgs then
|
||||||
begin
|
begin
|
||||||
@ -215,7 +212,7 @@ begin
|
|||||||
InitBrowserLog;
|
InitBrowserLog;
|
||||||
{$endif BrowserLog}
|
{$endif BrowserLog}
|
||||||
{$ifdef BrowserCol}
|
{$ifdef BrowserCol}
|
||||||
InitBrowserCol;
|
do_initSymbolInfo;
|
||||||
{$endif BrowserCol}
|
{$endif BrowserCol}
|
||||||
InitGlobals;
|
InitGlobals;
|
||||||
inittokens;
|
inittokens;
|
||||||
@ -358,7 +355,10 @@ end;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.49 2000-05-03 16:31:22 pierre
|
Revision 1.50 2000-05-29 10:04:40 pierre
|
||||||
|
* New bunch of Gabor changes
|
||||||
|
|
||||||
|
Revision 1.49 2000/05/03 16:31:22 pierre
|
||||||
+ easier debug when memory is lost
|
+ easier debug when memory is lost
|
||||||
|
|
||||||
Revision 1.48 2000/04/05 21:18:04 pierre
|
Revision 1.48 2000/04/05 21:18:04 pierre
|
||||||
|
|||||||
@ -58,9 +58,6 @@ unit parser;
|
|||||||
{$ifdef BrowserLog}
|
{$ifdef BrowserLog}
|
||||||
browlog,
|
browlog,
|
||||||
{$endif BrowserLog}
|
{$endif BrowserLog}
|
||||||
{$ifdef BrowserCol}
|
|
||||||
browcol,
|
|
||||||
{$endif BrowserCol}
|
|
||||||
{$ifdef UseExcept}
|
{$ifdef UseExcept}
|
||||||
tpexcept,compiler,
|
tpexcept,compiler,
|
||||||
{$endif UseExcept}
|
{$endif UseExcept}
|
||||||
@ -570,10 +567,8 @@ unit parser;
|
|||||||
end;
|
end;
|
||||||
{$endif BrowserLog}
|
{$endif BrowserLog}
|
||||||
|
|
||||||
{$ifdef BrowserCol}
|
{ Write Browser Collections }
|
||||||
{ Write Browser Collections }
|
do_extractsymbolinfo;
|
||||||
CreateBrowserCol;
|
|
||||||
{$endif}
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if current_module^.in_second_compile then
|
if current_module^.in_second_compile then
|
||||||
@ -609,7 +604,10 @@ unit parser;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.103 2000-05-11 06:52:37 pierre
|
Revision 1.104 2000-05-29 10:04:40 pierre
|
||||||
|
* New bunch of Gabor changes
|
||||||
|
|
||||||
|
Revision 1.103 2000/05/11 06:52:37 pierre
|
||||||
* fix localswitch problem if compiling objpas
|
* fix localswitch problem if compiling objpas
|
||||||
|
|
||||||
Revision 1.102 2000/04/24 12:45:44 peter
|
Revision 1.102 2000/04/24 12:45:44 peter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user