Browse Source

* Revert my latest change

daniel 21 years ago
parent
commit
0750bd97e5
1 changed files with 7 additions and 4 deletions
  1. 7 4
      compiler/symdef.pas

+ 7 - 4
compiler/symdef.pas

@@ -1696,9 +1696,9 @@ implementation
           inc(stl,length(s));
           inc(stl,length(s));
           p:=p.nextenum;
           p:=p.nextenum;
         end;
         end;
-      st[stl-1]:=';';
-      st[stl]:=#0;
-      reallocmem(st,stl+1);
+      st[stl]:=';';
+      st[stl+1]:=#0;
+      reallocmem(st,stl+2);
       stabstring:=st;
       stabstring:=st;
     end;
     end;
 {$endif GDB}
 {$endif GDB}
@@ -6118,7 +6118,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.221  2004-02-22 18:49:03  daniel
+  Revision 1.222  2004-02-22 19:55:25  daniel
+    * Revert my latest change
+
+  Revision 1.221  2004/02/22 18:49:03  daniel
     * Fixed minor bug in Tenumdef.stabstring
     * Fixed minor bug in Tenumdef.stabstring
 
 
   Revision 1.220  2004/02/19 17:07:42  florian
   Revision 1.220  2004/02/19 17:07:42  florian