Index: trunk/src/hid_cam.c =================================================================== --- trunk/src/hid_cam.c (revision 27611) +++ trunk/src/hid_cam.c (revision 27612) @@ -509,9 +509,20 @@ cam_xform_init(dst_xform); if (src != NULL) { - if (strchr(src, '=') != NULL) - pcb_message(PCB_MSG_ERROR, "global exporter --cam doesn't take '=' and layers, only a file name\n"); + if (strchr(src, '=') != NULL) { + char *start, *end; + src++; + start = strchr(src, '('); + if ((start != src) || (start == NULL)) { + pcb_message(PCB_MSG_ERROR, "global exporter --cam doesn't take '=' and layers, only a file name\n"); + } + if (start != NULL) { /* parse supplements for global xform */ +/*static void parse_layer_supplements(char **spk, char **spv, int spc, char **purpose, pcb_xform_t **xf, pcb_xform_t *xf_)*/ + } + } + + dst->fn_template = pcb_strdup(src); memset(&ctx, 0, sizeof(ctx));