[m-rev.] diff: fix compilation errors in compiler/ssdebug.m

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Oct 19 00:59:17 AEST 2007


Estimated hours taken: 0.1
Branches: main

Fix compilation errors that broke the nightly builds.

compiler/ssdebug.m:
 	Delete a duplicate predmode declaration.

 	Fix a syntax error.

Julien.

Index: ssdebug.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/ssdebug.m,v
retrieving revision 1.5
diff -u -r1.5 ssdebug.m
--- ssdebug.m	18 Oct 2007 08:27:08 -0000	1.5
+++ ssdebug.m	18 Oct 2007 14:55:54 -0000
@@ -177,15 +177,6 @@

  %-----------------------------------------------------------------------------%

-
-
-    %
-    % Generate code for a deterministic goal
-    %
-:- pred process_proc(pred_id::in, proc_id::in,
-    proc_info::in, proc_info::out, module_info::in, module_info::out,
-    io::di, io::uo) is det.
-
  process_proc(PredId, _ProcId, !ProcInfo, !ModuleInfo, !IO) :-
      proc_info_get_goal(!.ProcInfo, Goal0),

@@ -489,7 +480,7 @@
  	% Give a new prog_var to the polymorphic structure.
  	%
  	svvarset.new_named_var("VarType", VarTypo, !VarSet),
-	svmap.det_insert(VarTypo, MerType, !VarTypes)
+	svmap.det_insert(VarTypo, MerType, !VarTypes),

          % Constructor of the variable's description.
          svvarset.new_named_var("VarDesc", VarDesc, !VarSet),

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list