[m-rev.] for review: fix bad references to type_ctor_infos in table_builtin.m

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Sep 25 17:52:43 AEST 2002


On 20-Sep-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> In particular, if user code does something such as
> 
> 	#define builtin ...
> or
> 	#define string ...
> 
> and this code gets included before mercury_builtin_types.h,
> then I'm pretty sure it will cause problems.

Does the C preprocessor have any mechanism that we could use to define
an inverse of MR_STRINGIFY? If it did, we could pass "builtin" instead
of builtin etc to these macros, and convert the strings to parts of tokens
inside them.

Zoltan.
--------------------------------------------------------------------------
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