[m-rev.] for review: do not output trigraphs in string literals
Ralph Becket
rafe at cs.mu.OZ.AU
Wed Aug 31 13:00:19 AEST 2005
Ian MacLarty, Tuesday, 30 August 2005:
> For review by anyone.
>
> Estimated hours taken: 0.5
> Branches main, 0.12
>
> Do not output trigraphs in string literals in generated C code.
>
> compiler/c_util.m:
> Break strings containing trigraphs into multiple chunks, so the
> C compiler doesn't convert the trigraphs into other characters.
> For example "??-" is converted to "?" "?-" in the generated C code.
Looks fine.
--------------------------------------------------------------------------
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