[m-dev.] trivial diff: update declarative_test for new interface

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Fri Jan 21 00:44:26 AEDT 2000


Estimated hours taken: 0.1

browser/declarative_test.m:
	Update for the new front end interface.

Index: declarative_test.m
===================================================================
RCS file: /home/mercury1/repository/mercury/browser/declarative_test.m,v
retrieving revision 1.1
diff -u -r1.1 declarative_test.m
--- declarative_test.m	1999/11/30 00:04:25	1.1
+++ declarative_test.m	2000/01/20 13:40:16
@@ -26,11 +26,10 @@
 		{ MaybeFile = yes(File) }
 	->
 		load_trace_node_map(File, Map, Key),
-		{ diagnoser_state_init(State) },
 		io__stdin_stream(StdIn),
 		io__stdout_stream(StdOut),
-		{ det_trace_node_from_id(Map, Key, Node) },
-		diagnosis(StdIn, StdOut, Map, Node, Response, State, _),
+		{ diagnoser_state_init(StdIn, StdOut, State) },
+		diagnosis(Map, Key, Response, State, _),
 		io__write_string("Diagnoser response:\n"),
 		io__write(Response),
 		io__nl
-- 
Mark Brown, PhD student            )O+  |  "Another of Fortran's breakthroughs
(m.brown at cs.mu.oz.au)                   |  was the GOTO statement, which was...
Dept. of Computer Science and Software  |  uniquely simple and understandable"
Engineering, University of Melbourne    |              -- IEEE, 1994
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list