aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 405b863..770f660 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -669,7 +669,7 @@ grecs_process_ident(struct grecs_keyword *kwp, grecs_value_t *value,
target,
value,
&kwp->callback_data);
- else if (GRECS_TYPE(kwp->type) == grecs_type_void)
+ else if (GRECS_TYPE(kwp->type) == grecs_type_void || target == NULL)
return;
else if (!value) {
grecs_error(locus, 0, "%s has no value", kwp->ident);

Return to:

Send suggestions and report system problems to the System administrator.