[m-dev.] trivial diff: fix `Declare_entry(i)' bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Apr 16 15:47:08 AEST 2000
Estimated hours taken: 0.25
runtime/mercury_type_info.h:
Fix a bug in Zoltan's recent change:
MR_DEFINE_BUILTIN_TYPE_CTOR_INFO_FULL() was still calling
Declare_entry(i), even though it no longer has an `i' parameter.
Workspace: /home/pgrad/fjh/ws/hg
Index: runtime/mercury_type_info.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_type_info.h,v
retrieving revision 1.47
diff -u -d -r1.47 mercury_type_info.h
--- runtime/mercury_type_info.h 2000/04/11 07:57:21 1.47
+++ runtime/mercury_type_info.h 2000/04/16 05:42:46
@@ -780,7 +780,6 @@
#define MR_DEFINE_BUILTIN_TYPE_CTOR_INFO_FULL(m, cm, n, a, cr, u, c) \
Declare_entry(u); \
- Declare_entry(i); \
Declare_entry(c); \
MR_STATIC_CODE_CONST struct MR_TypeCtorInfo_Struct \
MR_PASTE6(mercury_data_, cm, __type_ctor_info_, n, _, a) = { \
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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