doc/mercury_reference_manual.texi:
Fix inverted characters.
Fix incorrect variable names in examples and the description
of the DCG transformation.
Fix an incorrect Java foreign_proc example.
Fix the example of higher-order impure code; it would not
compile as written.
doc/mercury_reference_manual.texi:
Fix spelling and grammar.
Expand "iff" to "if and only if".
Use "choice point" consistently in the text instead of a mixture
of that and "choicepoint".
doc/mercury_user_guide.texi:
Fit the compilation section into its new position.
Fix the description of C# compilation.
scripts/mgnuc.in:
Change the help message NOT to assume that the C compiler is gcc,
since we have supported other C compilers as well for a long time.
Move a comment to the code it applies to.
compiler/mercury_compile_augment.m:
Add a comment.
compiler/export.m:
Replace /* */ C commments with // commments.
Previously, we used to build e.g. mercury_ref.info from reference_manual.texi.
We now use these base files names consistently, with all relevant extensions:
mercury_reference_manual
mercury_user_guide
mercury_library_manual
mercury_transition_guide
mercury_faq
doc/mercury_reference_manual.texi:
doc/mercury_user_guide.texi:
doc/mercury_library_manual.texi:
doc/mercury_transition_guide.texi:
doc/mercury_faq.texi:
Rename the original .texi files to the new names.
Rename any pointers between manuals.
doc/update_opts:
Delete this unused file, since there is no point in updating it
to use the new file names.
doc/Mmakefile:
Rename files in variable definitions, target lists, source lists, actions,
and comments.
Replace blocks of file-name-specific rules with a single generic rule
where the uniformity of names makes this possible.
Start builtin pdf files by default, since the motivation for this change
is fixing an inconsistency between .html and .pdf versions of the same
manual.
Change the naming scheme of intermediate files to fit into the new pattern.
Delete the new_opts target, which we do not need anymore.
Delete references to library_toc and library_1, which we stopped building
in 2003.
doc/mercury.html.in:
doc/mercury.info.in:
Conform to the renames.
runtime/mercury_grade.h:
Rename the grade modifier, and the C macro that represents it.
compiler/options.m:
Rename the --c-debug-grade option to --target-debug-grade.
compiler/compute_grade.m:
Rename the grade modifier, and the option that represents it.
Restrict the .target_debut grade modifier to MLDS grades.
compiler/handle_options.m:
Implement --target-debug-grade by having it imply --target-debug.
compiler/compile_target_code.m:
compiler/link_target_code.m:
Pay attention to either --target-debug-grade (for purposes related
to the grade itself) and to --target-debug (for all other purposes).
scripts/canonical_grade.in:
scripts/canonical_grade.sh-subr:
scripts/final_grade_options.sh-subr:
scripts/init_grade_options.sh-subr:
scripts/parse_grade_options.sh-subr:
Parse target_debug grade modifiers and --target-debug-grade options
instead of c_debug grade modifiers and --c-debug-grade options.
Add (normally commented-out) infrastructure to make it easier
to debug changes.
Restrict the .target_debut grade modifier to MLDS grades.
scripts/mgnuc.in:
scripts/mgnuc_file_opts.sh-subr:
Rename some variables to clarify the distinction between the
--target-debug option (which, like -g, enabled debugging of only one file)
and the --target-debug-grade option (which enables it for the whole
program).
configure.ac:
Make it easier to debug grade-related changes by recording
both autoconfigured and user-supplied grades that the rejected by
the canonical_grade script.
Conform to the changes above.
README.sanitizers:
doc/user_guide.texi:
grade_lib/grade_spec.m:
grade_lib/grade_string.m:
scripts/ml.in:
tests/warnings/help_text.err_exp:
tools/lmc.in:
tools/test_mercury:
Conform to the changes above.
scripts/Mmake.vars.in:
Add some XXXs about style.
doc/user_guide.texi:
Replace the "Using mmc" section, which tried to do too much,
with an "Intro to mmc" section, which does a more thorough job
of explaining some basics, but does not depend on concepts that
are introduced only in later chapters.
Start using @code and @command in the way we discussed on m-rev,
though for now, only in the newly-written parts of the guide.
Add chapter markers for the agreed-on chapters. Do not move
existing text around as we also agreed; do that separately,
to make reviewing this diff simpler.
Document the new capability of mdb's dump command.
Add a vim modeline.
Replace tabs with spaces.
Fix too-long lines where possible.
doc/Mmakefile:
Generate ug_invocation.texi using the bootstrap compiler when
cross-compiling as we may not be able to run the mercury_compile
executable.
doc/.gitignore:
Ignore ug_invocation.texi and ug_invocation.texi_date.
Mmakefile:
docs/Mmakefile:
When building the source distribution, generate ug_invocation.texi
using the bootstrap Mercury compiler since the building the source
distribution does not create a mercury_compile executable.
doc/user_guide.texi:
Replace the invocation chapter part of this file with a @include
of a new file, ug_invocation.texi, which contains the output of
"mmc --help-texinfo".
doc/Mmakefile:
Make user_guide.texi_pp dependent on ug_invocation.texi.
Do not force the rebuilding of the info/pdf/etc versions
of the user guide if, when we check whether ug_invocation.texi
is still current, we find that it is.