Browse Source

* fixed end of shortstring llvm def after r27015

git-svn-id: branches/hlcgllvm@28130 -
Jonas Maebe 11 năm trước cách đây
mục cha
commit
7ca4ebee9d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/llvm/llvmdef.pas

+ 1 - 1
compiler/llvm/llvmdef.pas

@@ -231,7 +231,7 @@ implementation
                 st_shortstring:
                   { length byte followed by string bytes }
                   if tstringdef(def).len>0 then
-                    encodedstr:=encodedstr+'['+tostr(tstringdef(def).len+1)+' x i8]}'
+                    encodedstr:=encodedstr+'['+tostr(tstringdef(def).len+1)+' x i8]'
                   else
                     encodedstr:=encodedstr+'[0 x i8]';
                 else