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 71db1f2d..8b512f1b 100644
--- a/match.c
+++ b/match.c
@@ -1554,7 +1554,7 @@ static val v_block(match_files_ctx c, match_files_ctx *cout)
sem_error(spec_linenum,
lit("unexpected material after block directive"), nao);
- if (rest(c.spec))
+ if ((c.spec = rest(c.spec)) != nil)
{
uw_block_begin(name, result);
result = match_files(c);