浏览代码

Correct check of stringtype inside use_tag_prefix function

git-svn-id: trunk@48140 -
pierre 4 年之前
父节点
当前提交
4fd1c9ec42
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/dbgstabs.pas

+ 1 - 1
compiler/dbgstabs.pas

@@ -571,7 +571,7 @@ implementation
           just associated to pointer types }
         use_tag_prefix:=(def.typ in tagtypes) and
                       ((def.typ<>stringdef) or
-                       (tstringdef(tdef).stringtype in [st_shortstring,st_longstring]));
+                       (tstringdef(def).stringtype in [st_shortstring,st_longstring]));
       end;