summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-26 01:11:22 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-26 01:11:22 -0400
commitdabff9ab6f89a1ec36461022a811c1f10cd09f17 (patch)
tree3567e90c89a79b8c9a4fe1c157b1843cffb01a17 /match.c
parent6d7e225fa1dded120dd959074c0d269c38459713 (diff)
downloadtxr-dabff9ab6f89a1ec36461022a811c1f10cd09f17.tar.gz
txr-dabff9ab6f89a1ec36461022a811c1f10cd09f17.tar.bz2
txr-dabff9ab6f89a1ec36461022a811c1f10cd09f17.zip
* match.c (v_cat): Bugfix: unterminated variable argument list.
* tests/001/query-3.txr: Updated to new cat syntax.
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 4b163af8..92baac50 100644
--- a/match.c
+++ b/match.c
@@ -2246,7 +2246,7 @@ static val v_cat(match_files_ctx c, match_files_ctx *cout)
val sep_form = third(first_spec);
if (rest(specline))
- sem_error(spec_linenum, lit("cat: obsolete syntax"));
+ sem_error(spec_linenum, lit("obsolete cat syntax: trailing material"), nao);
if (!bindable(sym)) {
sem_error(spec_linenum,