[fpc-pascal] Constants in generics

Ryan Joseph ryan at thealchemistguild.com
Sat Jan 5 18:51:51 CET 2019


Given the new syntax requirements we talked about there needs to be a ; after T now. What error should be used if there isn’t a ; semicolon separator between types and consts? I just used a parser_e_illegal_expression for now.

generic TStuff<T,const A,B,C:integer> = record

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list