Browse Source

* forgot to commit a procedure for -dlogsecondpass the last time

Jonas Maebe 25 years ago
parent
commit
e5af12b684
1 changed files with 14 additions and 1 deletions
  1. 14 1
      compiler/pass_2.pas

+ 14 - 1
compiler/pass_2.pas

@@ -219,6 +219,16 @@ implementation
           end;
           end;
        end;
        end;
 
 
+{$ifdef logsecondpass}
+     procedure logsecond(const s: string; entry: boolean);
+     var p: pchar;
+     begin
+       if entry then
+         p := strpnew(s+' (entry)')
+       else p := strpnew(s+' (exit)');
+       exprasmlist^.concat(new(pai_asm_comment,init(p)));
+     end;
+{$endif logsecondpass}
 
 
      procedure secondpass(var p : ptree);
      procedure secondpass(var p : ptree);
        const
        const
@@ -840,7 +850,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.51  2000-01-21 12:16:53  jonas
+  Revision 1.52  2000-01-22 15:58:12  jonas
+    * forgot to commit a procedure for -dlogsecondpass the last time
+
+  Revision 1.51  2000/01/21 12:16:53  jonas
     + add info on entry/exit of secondpass procedure in assembler files, between
     + add info on entry/exit of secondpass procedure in assembler files, between
       -dlogsecondpass
       -dlogsecondpass