Index: cam_compile.c =================================================================== --- cam_compile.c (revision 24127) +++ cam_compile.c (revision 24128) @@ -69,12 +69,6 @@ char **argv; switch(code->inst) { - case PCB_CAM_PREFIX: - free(ctx->prefix); - ctx->prefix = pcb_strdup(code->op.prefix.arg); - prefix_mkdir(ctx->prefix, NULL); - break; - case PCB_CAM_DESC: /* ignore */ break; @@ -137,11 +131,7 @@ static int cam_compile_line(cam_ctx_t *ctx, char *cmd, char *arg, pcb_cam_code_t *code) { - if (strcmp(cmd, "prefix") == 0) { - code->inst = PCB_CAM_PREFIX; - code->op.prefix.arg = pcb_strdup(arg); - } - else if (strcmp(cmd, "desc") == 0) { + if (strcmp(cmd, "desc") == 0) { code->inst = PCB_CAM_DESC; code->op.desc.arg = pcb_strdup(arg); } @@ -240,11 +230,6 @@ case PCB_CAM_DESC: break; - case PCB_CAM_PREFIX: - free(ctx->prefix); - ctx->prefix = NULL; - break; - case PCB_CAM_WRITE: free(code->op.write.arg); break; Index: cam_compile.h =================================================================== --- cam_compile.h (revision 24127) +++ cam_compile.h (revision 24128) @@ -32,8 +32,7 @@ typedef enum { PCB_CAM_DESC, PCB_CAM_PLUGIN, - PCB_CAM_WRITE, - PCB_CAM_PREFIX + PCB_CAM_WRITE } pcb_cam_inst_t; typedef struct {