summaryrefslogtreecommitdiff
path: root/except.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-10-29 14:13:51 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:12 +0100
commit600c45ab9ac6bf6a0257997d4c21d49c868ec0bb (patch)
tree506e5f57b1e213103b35d2e967fc4a7e76eaf5f8 /except.c
parent3b225b2f889a79e3b3dfef6a962e5655c91c1a96 (diff)
pr_error now takes a line number offset
Diffstat (limited to 'except.c')
-rw-r--r--except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/except.c b/except.c
index c557e63..af30e71 100644
--- a/except.c
+++ b/except.c
@@ -120,7 +120,7 @@ extern void pop_cmdarg(bool remove) {
/* exception handlers */
extern void rc_error(char *s) {
- pr_error(s);
+ pr_error(s, -1);
set(FALSE);
redirq = NULL;
cond = FALSE; /* no longer inside conditional */