mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-06 07:49:02 +00:00
Delete now-redundant blocks of unifications ...
compiler/print_help.m:
... that used to be required to help out switch detection.
configure.ac:
Require the installed compiler to have the commit that makes those
duplicate unifications unnecessary.
This commit is contained in:
@@ -2137,31 +2137,6 @@ reflow_lines_loop_over_lines(Format, LineLen, Pieces, !CindexCord, !FindexCord,
|
|||||||
add_word(LineLen, FixedStr, !CurLine, !CurLineLen,
|
add_word(LineLen, FixedStr, !CurLine, !CurLineLen,
|
||||||
!FinishedLineCord)
|
!FinishedLineCord)
|
||||||
;
|
;
|
||||||
( HeadPiece = quote(_)
|
|
||||||
; HeadPiece = quote(_, _)
|
|
||||||
; HeadPiece = opt(_)
|
|
||||||
; HeadPiece = opt(_, _)
|
|
||||||
; HeadPiece = arg(_)
|
|
||||||
; HeadPiece = arg(_, _)
|
|
||||||
; HeadPiece = bare_arg(_)
|
|
||||||
; HeadPiece = bare_arg(_, _)
|
|
||||||
; HeadPiece = opt_arg(_, _)
|
|
||||||
; HeadPiece = opt_arg(_, _, _)
|
|
||||||
; HeadPiece = samp(_)
|
|
||||||
; HeadPiece = samp(_, _)
|
|
||||||
; HeadPiece = emph(_)
|
|
||||||
; HeadPiece = emph(_, _)
|
|
||||||
; HeadPiece = env(_)
|
|
||||||
; HeadPiece = env(_, _)
|
|
||||||
; HeadPiece = code(_)
|
|
||||||
; HeadPiece = code(_, _)
|
|
||||||
; HeadPiece = file(_)
|
|
||||||
; HeadPiece = file(_, _)
|
|
||||||
; HeadPiece = var(_)
|
|
||||||
; HeadPiece = var(_, _)
|
|
||||||
; HeadPiece = file_var(_, _)
|
|
||||||
; HeadPiece = file_var(_, _, _)
|
|
||||||
),
|
|
||||||
(
|
(
|
||||||
( HeadPiece = quote(Text), Suffix = ""
|
( HeadPiece = quote(Text), Suffix = ""
|
||||||
; HeadPiece = quote(Text, Suffix)
|
; HeadPiece = quote(Text, Suffix)
|
||||||
@@ -2301,11 +2276,6 @@ reflow_lines_loop_over_lines(Format, LineLen, Pieces, !CindexCord, !FindexCord,
|
|||||||
),
|
),
|
||||||
add_word(LineLen, Str, !CurLine, !CurLineLen, !FinishedLineCord)
|
add_word(LineLen, Str, !CurLine, !CurLineLen, !FinishedLineCord)
|
||||||
;
|
;
|
||||||
( HeadPiece = ref(_, _, _)
|
|
||||||
; HeadPiece = ref(_, _, _, _)
|
|
||||||
; HeadPiece = xref(_)
|
|
||||||
; HeadPiece = xref(_, _)
|
|
||||||
),
|
|
||||||
(
|
(
|
||||||
( HeadPiece = ref(Before0, RefName, After0), Suffix = ""
|
( HeadPiece = ref(Before0, RefName, After0), Suffix = ""
|
||||||
; HeadPiece = ref(Before0, RefName, After0, Suffix)
|
; HeadPiece = ref(Before0, RefName, After0, Suffix)
|
||||||
|
|||||||
@@ -605,7 +605,7 @@ EOF
|
|||||||
$BOOTSTRAP_MC \
|
$BOOTSTRAP_MC \
|
||||||
--verbose \
|
--verbose \
|
||||||
$link_static_opt conftest \
|
$link_static_opt conftest \
|
||||||
--inrange-2025-10-01 \
|
--scout-disj-2025-11-15 \
|
||||||
--warn-include-and-non-include \
|
--warn-include-and-non-include \
|
||||||
--allow-ho-insts-as-modes \
|
--allow-ho-insts-as-modes \
|
||||||
--no-ssdb \
|
--no-ssdb \
|
||||||
|
|||||||
Reference in New Issue
Block a user