2
0
Эх сурвалжийг харах

* fixed end of shortstring llvm def after r27015

git-svn-id: branches/hlcgllvm@28130 -
Jonas Maebe 11 жил өмнө
parent
commit
7ca4ebee9d

+ 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