[m-rev.] Change compiler output to use `.' as module separator

Peter Moulder pmoulder at csse.monash.edu.au
Thu Dec 19 20:10:26 AEDT 2002


On Thu, Dec 19, 2002 at 11:56:30AM +1100, Ralph Becket wrote:
> Change the compiler and tools so that `.' and not `:' is now used as the
> module separator in all output.

Appended is an untested corresponding change to scripts/gud.el.

pjm.


Index: scripts/gud.el
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/gud.el,v
retrieving revision 1.9
diff -d -u -r1.9 scripts/gud.el
--- scripts/gud.el	4 Dec 2002 17:08:45 -0000	1.9
+++ scripts/gud.el	19 Dec 2002 07:06:27 -0000
@@ -1115,8 +1115,8 @@
 	       (event-regexp "[A-Z]+ ")
 
 	       ;; Regexp to match a procedure specification,
-	       ;; i.e. "<module>:<sub-module>:<name>/<arity>-<mode> "
-	       (proc-regexp "\\(?:[^:]+:\\)+[^:/]+/[0-9]+-[0-9]+ ")
+	       ;; i.e. "<module>.<sub-module>.<name>/<arity>-<mode> "
+	       (proc-regexp "\\(?:[^:.]+[:.]\\)+[^:./]+/[0-9]+-[0-9]+ ")
 	       
 	       ;; Regexp to match "(<detism>) "
 	       (detism-regexp "([a-z]+) ")
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list