Browse Source

* add backticks around special type identifiers in
tabstractprocdef.typename_paras(), after accidentally committing the
removal of the double quotes in r34358
o the reason for not using double quotes is that the output of this routine
is used for some LLVM identifier names, and you can't have double quotes in
LLVM identifiers (any other character, including space, is no problem)

git-svn-id: trunk@34392 -

Jonas Maebe 9 years ago
parent
commit
ffd4870a60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -4941,7 +4941,7 @@ implementation
                       hs:='<set>';
                   end;
                   if hs<>'' then
-                   s:=s+'='+hs;
+                   s:=s+'=`'+hs+'`';
                 end;
                if vo_is_hidden_para in hp.varoptions then
                  s:=s+'>';