Files
mercury/library
Zoltan Somogyi bda9772154 Use color when explaining format problems.
compiler/format_call_errors.m:
    Instead of getting string.parse_util.m to describe each error we discover
    with a call to string.format, io.format etc, and coloring the whole
    explanation, color just the parts that we would color in other diagnostics.
    This requires a greatly modified copy of the code in string.parse_util.m.
    This copy constructs partially-colored format pieces instead of a string.

library/string.parse_util.m:
    Move that code to the end of this module, and document the need
    to keep the two versions of this code in sync.

tests/invalid/string_format_bad.err_exp:
tests/invalid/string_format_unknown.err_exp:
tests/warnings/format_call_multi.err_exp:
tests/warnings/format_call_warning.err_exp:
    Expect updated diagnostics.
2024-05-21 01:33:56 +10:00
..
2023-06-26 20:05:24 +10:00
2024-02-20 17:18:52 +11:00
2024-02-20 17:18:52 +11:00
2023-09-26 13:07:51 +10:00
2022-12-05 09:45:11 +11:00
2023-11-29 16:28:07 +11:00
2023-12-20 15:32:02 +11:00
2023-07-11 14:22:13 +02:00
2023-01-05 20:15:05 +11:00
2023-01-25 16:48:45 +11:00
2023-07-31 01:39:13 +02:00
2024-02-20 17:18:52 +11:00
2023-02-21 00:40:31 +11:00
2024-02-20 17:18:52 +11:00
2023-02-21 00:40:31 +11:00
2023-09-22 09:35:23 +10:00
2023-02-21 00:40:31 +11:00
2023-02-26 21:52:41 +11:00
2023-02-21 00:40:31 +11:00
2023-09-20 21:28:27 +10:00
2024-02-20 17:18:52 +11:00
2023-02-21 00:40:12 +11:00
2023-07-31 01:39:13 +02:00
2023-04-03 20:22:33 +10:00
2023-04-03 20:22:33 +10:00
2023-04-03 20:22:33 +10:00