[fpc-devel] Constant string system defintion

Ryan Joseph genericptr at gmail.com
Mon Oct 7 21:27:32 CEST 2019


Question about the compiler. When you parse a function like this:

DoThis('string');

The parameter is a tdef with the name “Constant String” and there is no typesym (which I need to specialize the function). How should I get a typesym for the tdef in the case of constants? Do I need to search the system unit using search_system_type? There must be some utility function but I don’t know where to look.

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list