|
@@ -121,7 +121,7 @@ var
|
|
|
|
|
|
{ Default Functions }
|
|
{ Default Functions }
|
|
Function def_status:boolean;
|
|
Function def_status:boolean;
|
|
-Function def_comment(Level:Longint;const s:string):boolean;
|
|
|
|
|
|
+Function def_comment(Level:Longint;const s:ansistring):boolean;
|
|
function def_internalerror(i:longint):boolean;
|
|
function def_internalerror(i:longint):boolean;
|
|
procedure def_initsymbolinfo;
|
|
procedure def_initsymbolinfo;
|
|
procedure def_donesymbolinfo;
|
|
procedure def_donesymbolinfo;
|
|
@@ -132,7 +132,7 @@ Function def_getnamedfiletime(Const F : String) : Longint;
|
|
type
|
|
type
|
|
tstopprocedure = procedure(err:longint);
|
|
tstopprocedure = procedure(err:longint);
|
|
tstatusfunction = function:boolean;
|
|
tstatusfunction = function:boolean;
|
|
- tcommentfunction = function(Level:Longint;const s:string):boolean;
|
|
|
|
|
|
+ tcommentfunction = function(Level:Longint;const s:ansistring):boolean;
|
|
tinternalerrorfunction = function(i:longint):boolean;
|
|
tinternalerrorfunction = function(i:longint):boolean;
|
|
|
|
|
|
tinitsymbolinfoproc = procedure;
|
|
tinitsymbolinfoproc = procedure;
|
|
@@ -198,22 +198,22 @@ end;
|
|
Stopping the compiler
|
|
Stopping the compiler
|
|
****************************************************************************}
|
|
****************************************************************************}
|
|
|
|
|
|
- constructor EControlCAbort.Create;
|
|
|
|
- begin
|
|
|
|
- inherited Create('Ctrl-C Signaled!');
|
|
|
|
- end;
|
|
|
|
|
|
+constructor EControlCAbort.Create;
|
|
|
|
+ begin
|
|
|
|
+ inherited Create('Ctrl-C Signaled!');
|
|
|
|
+ end;
|
|
|
|
|
|
|
|
|
|
- constructor ECompilerAbort.Create;
|
|
|
|
- begin
|
|
|
|
- inherited Create('Compilation Aborted');
|
|
|
|
- end;
|
|
|
|
|
|
+constructor ECompilerAbort.Create;
|
|
|
|
+ begin
|
|
|
|
+ inherited Create('Compilation Aborted');
|
|
|
|
+ end;
|
|
|
|
|
|
|
|
|
|
- constructor ECompilerAbortSilent.Create;
|
|
|
|
- begin
|
|
|
|
- inherited Create('Compilation Aborted');
|
|
|
|
- end;
|
|
|
|
|
|
+constructor ECompilerAbortSilent.Create;
|
|
|
|
+ begin
|
|
|
|
+ inherited Create('Compilation Aborted');
|
|
|
|
+ end;
|
|
|
|
|
|
|
|
|
|
{****************************************************************************
|
|
{****************************************************************************
|
|
@@ -243,13 +243,13 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
-Function def_comment(Level:Longint;const s:string):boolean;
|
|
|
|
|
|
+Function def_comment(Level:Longint;const s:ansistring):boolean;
|
|
const
|
|
const
|
|
rh_errorstr = 'error:';
|
|
rh_errorstr = 'error:';
|
|
rh_warningstr = 'warning:';
|
|
rh_warningstr = 'warning:';
|
|
var
|
|
var
|
|
- hs : string;
|
|
|
|
- hs2 : string;
|
|
|
|
|
|
+ hs : ansistring;
|
|
|
|
+ hs2 : ansistring;
|
|
begin
|
|
begin
|
|
def_comment:=false; { never stop }
|
|
def_comment:=false; { never stop }
|
|
hs:='';
|
|
hs:='';
|