[m-rev.] trivial diff: fix stdlib compilation in erlang grade
Julien Fischer
juliensf at csse.unimelb.edu.au
Mon Jun 1 18:21:08 AEST 2009
Fix compilation of the standard library in the erlang grade.
library/region_builtin.m:
Add a dummy Erlang definition for the region/0 type.
Julien.
Index: region_builtin.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/region_builtin.m,v
retrieving revision 1.7
diff -u -r1.7 region_builtin.m
--- region_builtin.m 22 Apr 2009 03:03:16 -0000 1.7
+++ region_builtin.m 1 Jun 2009 08:09:37 -0000
@@ -54,6 +54,8 @@
:- pragma foreign_type("Java", region, "java.lang.Object"). % dummy
+:- pragma foreign_type("Erlang", region, ""). % dummy
+
:- pragma foreign_proc("C",
create_region(Region::out),
[will_not_call_mercury],
--------------------------------------------------------------------------
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