Browse Source

* fixed end of shortstring llvm def after r27015

git-svn-id: branches/hlcgllvm@28130 -
Jonas Maebe 11 years ago
parent
commit
7ca4ebee9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/llvm/llvmdef.pas

+ 1 - 1
compiler/llvm/llvmdef.pas

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