[m-rev.] for review: fix java string/character literals

Julien Fischer juliensf at csse.unimelb.edu.au
Wed May 6 23:09:08 AEST 2009


On Wed, 6 May 2009, Peter Wang wrote:

> Branches: main
>
> Fix these problems with string and character literals output by the Java
> backend, due to using routines originally designed for C literals:
>
> - string literals cannot be broken into multiple segments
>
> - \a, \v escape characters are not supported
>
> - trigraphs are not supported so don't need to avoid them
>
>
> compiler/c_util.m:
>        Add versions of existing predicates which take the output language as
>        an argument.
>
>        Fix the above problems for Java.
>
> compiler/mlds_to_java.m:
>        Use the new predicates.

That's fine.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list