I think that last message came through but I didn’t see what I quoted. Here’s 
the original question:

In my implicit generic specialization code I have one place where I get a 
string const node (stringconstn) which the resultdef is arraydef (not stringdef 
like I would expect). I then need to substitute this for a typesym so I can 
match the function parameters but how do we I find a typesym for the string 
type?

Currently I’m using searchsym_type but hardcoding the type name is probably not 
the right solution. 

        searchsym_type('SHORTSTRING',srsym,srsymtable);
Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to