From fe9bbdf3f5223ee94cb51ba00ddab7f4a6ddb754 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 3 May 2014 15:05:33 +0100 Subject: Use exceptions to hold errors even in the keep_going case. --- test/rewrite_subs.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc index 0a2cd1ec..553c6291 100644 --- a/test/rewrite_subs.cc +++ b/test/rewrite_subs.cc @@ -42,8 +42,7 @@ main (int argc, char* argv[]) } DCP* dcp = new DCP (argv[1]); - list errors; - dcp->read (true, &errors); + dcp->read (true); list > cpls = dcp->cpls (); for (list >::iterator i = cpls.begin(); i != cpls.end(); ++i) { -- cgit v1.2.3