summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-17 14:12:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-17 14:12:30 -0800
commiteec7d1dea908432cc2ec9337cd3e0f63b72c16d9 (patch)
treec4c248db2f518d367b6cb6996677ec064847dafa /match.c
parent07e0c300bc1a4c310080d0b2c21fdc863778115e (diff)
downloadtxr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.tar.gz
txr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.tar.bz2
txr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.zip
Fixes for compliance to C89.
Diffstat (limited to 'match.c')
-rw-r--r--match.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/match.c b/match.c
index ea028583..a205e126 100644
--- a/match.c
+++ b/match.c
@@ -1411,6 +1411,7 @@ repeat_spec_same_data:
obj_t *new_style_dest = fourth(first_spec);
obj_t *nt = nil;
obj_t *dest;
+ fpip_t fp;
if (old_style_dest) {
dest = cat_str(subst_vars(old_style_dest, bindings), nil);
@@ -1431,7 +1432,7 @@ repeat_spec_same_data:
}
}
- fpip_t fp = (errno = 0, complex_open(dest, t));
+ fp = (errno = 0, complex_open(dest, t));
debugf(lit("opening data sink ~a"), dest, nao);