mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:09:15 +02:00
* string constants passed to array of const should be passed as ansistrings
git-svn-id: trunk@2523 -
This commit is contained in:
parent
0a2d1df0b6
commit
bbd3e2e391
@ -927,6 +927,9 @@ implementation
|
||||
{ Insert typeconvs for array of const }
|
||||
if dovariant then
|
||||
begin
|
||||
if hp.left.nodetype=stringconstn then
|
||||
hp.left:=ctypeconvnode.create_internal(hp.left,cansistringtype)
|
||||
else
|
||||
case hp.left.resulttype.def.deftype of
|
||||
enumdef :
|
||||
hp.left:=ctypeconvnode.create_internal(hp.left,s32inttype);
|
||||
|
Loading…
Reference in New Issue
Block a user