Same bugfix as 2a215fd
, but for assignments with invalid criteria
This commit is contained in:
parent
717ae819c5
commit
2c7148c46e
|
@ -1148,6 +1148,10 @@ assign:
|
||||||
}
|
}
|
||||||
| TOKASSIGN match STR
|
| 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);
|
printf("new assignment, using above criteria, to workspace %s\n", $3);
|
||||||
Assignment *assignment = scalloc(sizeof(Assignment));
|
Assignment *assignment = scalloc(sizeof(Assignment));
|
||||||
assignment->match = current_match;
|
assignment->match = current_match;
|
||||||
|
|
Loading…
Reference in New Issue