[m-rev.] diff: fix bug #96
Julien Fischer
juliensf at csse.unimelb.edu.au
Wed Jan 27 17:05:08 AEDT 2010
On Wed, 27 Jan 2010, Julien Fischer wrote:
>
> Fix bug #96, a documentation problem with the parsing_utils module.
>
> library/parsing_utils.m:
> Fix a mismatch between the order of the arguments in the
> documentation of predicate identifier/6 and the actual arguments.
>
> Minor formatting changes intended to maintain consistency
> in the library reference guide.
...
> @@ -169,7 +168,7 @@
> :- pred ikeyword(string::in, string::in, src::in, unit::out,
> ps::in, ps::out) is semidet.
>
> - % identifier(Src, InitIdChars, IdChars, Identifier, !PS) matches the
> next
> + % identifier(InitIdChars, IdChars, Src, Identifier, !PS) matches the
> next
> % identifer (result in Identifier) comprising a char from InitIdChars
> % followed by zero or more chars from IdChars. Any subsequent
> whitespace
> % is consumed.
I have also fixed the spelling error in the above.
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