[m-rev.] trivial diff: fix an error message
Julien Fischer
juliensf at cs.mu.OZ.AU
Mon Apr 11 10:26:24 AEST 2005
Estimated hours taken: 0.1
Branches: main
Fix a typo in an error message.
compiler/modules.m:
tests/invalid/after_end_module.err_exp:
s/delcaration/declaration/.
Julien.
Index: compiler/modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.324
diff -u -r1.324 modules.m
--- compiler/modules.m 7 Apr 2005 06:32:12 -0000 1.324
+++ compiler/modules.m 10 Apr 2005 23:27:50 -0000
@@ -7018,7 +7018,7 @@
:- pred report_items_after_end_module(prog_context::in, io::di, io::uo) is det.
report_items_after_end_module(Context, !IO) :-
- ErrorPieces = [words("Error: item(s) after end_module delcaration.")],
+ ErrorPieces = [words("Error: item(s) after end_module declaration.")],
write_error_pieces(Context, 0, ErrorPieces, !IO),
io.set_exit_status(1, !IO).
Index: tests/invalid/after_end_module.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/after_end_module.err_exp,v
retrieving revision 1.1
diff -u -r1.1 after_end_module.err_exp
--- tests/invalid/after_end_module.err_exp 27 Oct 2004 07:41:51 -0000 1.1
+++ tests/invalid/after_end_module.err_exp 10 Apr 2005 23:28:13 -0000
@@ -1,2 +1,2 @@
-after_end_module.m:009: Error: item(s) after end_module delcaration.
+after_end_module.m:009: Error: item(s) after end_module declaration.
For more information, try recompiling with `-E'.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list