mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 13:09:26 +02:00
* write length/code page when writing the string type
git-svn-id: trunk@45654 -
This commit is contained in:
parent
1ff1921d14
commit
c6c996f506
@ -2688,6 +2688,14 @@ implementation
|
||||
'ShortString','LongString','AnsiString','WideString','UnicodeString');
|
||||
begin
|
||||
GetTypeName:=names[stringtype];
|
||||
case stringtype of
|
||||
st_ansistring,st_unicodestring:
|
||||
GetTypeName:=GetTypeName+'('+tostr(encoding)+')';
|
||||
st_shortstring:
|
||||
GetTypeName:=GetTypeName+'['+tostr(len)+']';
|
||||
else
|
||||
;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user