mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
Trivial comment changes.
Estimated hours taken: 0.25 Branches: main Trivial comment changes. compiler/inst_match.m: Update some obsolete comments to match the current interface. Add a comment about contravariance/covariance in pred_inst_argmodes_matches. compiler/java_util.m: compiler/notes/compiler_design.html: Fix typos.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
% This module defines utility routines that are used by the
|
||||
% Java backend. Much of the code below is similar to that in c_util.m;
|
||||
% changes made to this module may require changes c_util.m.
|
||||
% changes made to this module may require changes to c_util.m.
|
||||
|
||||
%-----------------------------------------------------------------------------%
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
|
||||
%-----------------------------------------------------------------------------%
|
||||
|
||||
|
||||
% Tags are not used in the Java back-end, as such, all of the tagging
|
||||
% operators except for `tag' return no-ops. The `tag' case is handled
|
||||
% seperately in mlds_to_java__output_std_unop.
|
||||
@@ -129,6 +128,7 @@ java_util__binary_infix_op(>, ">").
|
||||
java_util__binary_infix_op(<=, "<=").
|
||||
|
||||
%------------------------------------------------------------------------------%
|
||||
|
||||
java_util__is_keyword("abstract").
|
||||
java_util__is_keyword("boolean").
|
||||
java_util__is_keyword("break").
|
||||
|
||||
Reference in New Issue
Block a user