for review: making error_util more flexible

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Feb 25 11:08:46 AEDT 1998


On 25-Feb-1998, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> error_util:
> 	Instead of requiring the writer of error messages to provide a list
> 	of words, allow them to provide strings that the code in this module
> 	will break down into words at white space. (They can still provide
> 	words not to be proken down.)
> 
> term_errors:
> 	Use the new flexibility in error_util to make the code preparing
> 	error messages to read a lot better.

That looks good.
A couple of minor comments:

> +	% The caller supplies the list of words to be printed in the form
> +	% a list of error message components. Each component may specify

... in the form *of* a list ...

> +	% a string to printed exactly as it is, or it may specify a string
> +	% containing a list of words, a list which may be broken at
> +	% white space.

delete the second occurrence of "a list"?

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



More information about the developers mailing list