diff --git a/src/cfgparse.y b/src/cfgparse.y index 86e9ea98..8faeff85 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -1148,6 +1148,10 @@ assign: } | TOKASSIGN match STR { + if (match_is_empty(¤t_match)) { + ELOG("Match is empty, ignoring this assignment\n"); + break; + } printf("new assignment, using above criteria, to workspace %s\n", $3); Assignment *assignment = scalloc(sizeof(Assignment)); assignment->match = current_match;