[m-dev.] for review: The .NET MSIL backend.

Ralph Becket rbeck at microsoft.com
Tue Oct 10 04:31:41 AEDT 2000


>From Tyson Dowd on 06/10/2000 09:36:30
> > 
> > > +ilasm__output_decl(comment(CommentStr)) --> 
> > > +	io__write_string("// "),
> > > +	io__write_string(CommentStr),
> > > +	io__write_string("\n").
> > 
> > What if CommentStr contains newlines?  If that is not allowed,
> > it should be documented in the data type definition.
> 
> I've changed it to use the `label' feature of pprint.m so you can 
> have newlines in your comments if you wish.  Also I've fixed this
> elsewhere.

Ah, I have a funny feeling that pprint is not embedded-newline
friendly.  I'll have a look and get back to you; it may be necessary
to add a new function to pprint that converts "blah\nblah" into
text("blah") `<|>` text("blah").

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

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