[m-rev.] for review: refactor mlds_to_il.m
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Jul 10 03:09:53 AEST 2001
On 10-Jul-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> [... to be continued ...]
The rest of the diff looked fine, except for the string "mercury_code"
being hard-coded in too many places. I suggest you define a function
for it:
% When targetting languages such as IL, C#, and Java,
% which don't support global methods or global variables,
% we need to wrap all the generated global functions and
% global data inside a wrapper class.
% This function returns the name to use for the wrapper class.
:- func wrapper_class_name = string.
wrapper_class_name = "mercury_code".
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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