Correct check of stringtype inside use_tag_prefix function

git-svn-id: trunk@48140 -
This commit is contained in:
pierre 2021-01-11 22:17:09 +00:00
parent 000de377b9
commit 4fd1c9ec42

View File

@ -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;