const Attr* NeedAttr (const Collection* C, const char* Name, const char* Op)
/* Search for an attribute with the given name and return it. If the attribute
- * is not found, the function terminates with an error using Op as additional
+ * is not found, the function terminates with an error using Op as additional
* context in the error message.
*/
{
/* Release memory */
SB_Done (&N);
- }
+ }
}
const char* L = List;
StrBuf B = AUTO_STRBUF_INITIALIZER;
while (1) {
- if (*L == ',' || *L == '\0') {
+ if (*L == ',' || *L == ':' || *L == '\0') {
/* Terminate the string */
SB_Terminate (&B);