[fpc-devel] Getting built-in string type

Ryan Joseph ryan at thealchemistguild.com
Thu Feb 28 03:11:00 CET 2019

Sending this again to see if it gets through (posts getting blocked again).

> On Feb 26, 2019, at 2:43 PM, Ryan Joseph <ryan at thealchemistguild.com> wrote:
> 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

	Ryan Joseph

More information about the fpc-devel mailing list