Browse Source

* fixed debug info for enum types after r10189

git-svn-id: trunk@10197 -
Jonas Maebe 17 years ago
parent
commit
84401d2226
1 changed files with 2 additions and 1 deletions
  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;