* string constants passed to array of const should be passed as ansistrings

git-svn-id: trunk@2523 -
This commit is contained in:
florian 2006-02-11 22:25:14 +00:00
parent 0a2d1df0b6
commit bbd3e2e391

View File

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