Browse Source

Correct check of stringtype inside use_tag_prefix function

git-svn-id: trunk@48140 -
pierre 4 years ago
parent
commit
4fd1c9ec42
1 changed files with 1 additions and 1 deletions
  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;