[m-dev.] for review: generating C layout structures

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jan 11 19:11:35 AEDT 2001


On 11-Jan-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> And does anyone know how long strings are supposed to be handled with lcc?

lcc handles long array initializers fine.
So

	char s[] = {
		'a', ' ', 'v', 'e', 'r', 'y', ' ', 'l', 'o', 'n', 'g', ' ',
		's', 't', 'r', 'i', 'n', 'g', ...
	};

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- 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