src/types_list.c: Added a function to parse a generic list of `types'.