[m-rev.] for review: fix :- pragma source_file bug

Peter Wang wangp at students.csse.unimelb.edu.au
Tue Jul 31 13:31:36 AEST 2007


On 2007-07-31, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
> For review by anyone.
> 
> Estimated hours taken: 4
> Branches: main
> 
> Fix a bug where a ":- pragma source_file" declaration was effectively
> ignored if it appeared before the ":- module" declaration.  The problem was
> that prog_io.read_first_term was not passing the source file name to the
> predicates that read the subsequent terms.
>

Looks fine.

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