Răsfoiți Sursa

* fixed debug info for enum types after r10189

git-svn-id: trunk@10197 -
Jonas Maebe 17 ani în urmă
părinte
comite
84401d2226
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      compiler/dbgstabs.pas

+ 2 - 1
compiler/dbgstabs.pas

@@ -575,7 +575,8 @@ implementation
             st:=st+GetSymName(p)+':'+tostr(p.value)+',';
             p:=p.nextenum;
           end;
-        st[length(st)]:=';';
+        { the final ',' is required to have a valid stabs }
+        st:=st+';';
         write_def_stabstr(list,def,st);
       end;