[m-dev.] for review: duplicate arguments in `:- pragma c_code'

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Dec 10 13:18:19 AEDT 1999


On 10-Dec-1999, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Estimated hours taken: 1
> 
> compiler/make_hlds.m:
> 	Report errors if a variable occurs multiple times in the
> 	argument list of a `:- pragma c_code' declaration.
> 
> doc/reference_manual.texi:
> 	Document that variables should occur only once in a
> 	`:- pragma c_code' argument list.
> 
> tests/invalid/Mmakefile:
> tests/invalid/pragma_c_code_dup_var.m:
> tests/invalid/pragma_c_code_dup_var.err_exp:
> 	Test case.

That looks fine.  Please commit it.  Thanks!

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