summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index 9e699646..fdb37fdd 100644
--- a/match.c
+++ b/match.c
@@ -3540,7 +3540,7 @@ static val v_filter(match_files_ctx *c)
static val v_eof(match_files_ctx *c)
{
- if (c->data) {
+ if (c->data && car(c->data)) {
debuglf(c->spec, lit("eof failed to match at ~a"), c->data_lineno, nao);
return nil;
}