mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* allow conststring to array of widechar
git-svn-id: trunk@1471 -
This commit is contained in:
parent
7f6d44006e
commit
adfd36d189
@ -660,7 +660,8 @@ implementation
|
||||
else
|
||||
{ to array of char, from "Untyped" stringconstn (array of char) }
|
||||
if (fromtreetype=stringconstn) and
|
||||
is_chararray(def_to) then
|
||||
(is_chararray(def_to) or
|
||||
is_widechararray(def_to)) then
|
||||
begin
|
||||
eq:=te_convert_l1;
|
||||
doconv:=tc_string_2_chararray;
|
||||
|
Loading…
Reference in New Issue
Block a user