mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-30 16:54:41 +00:00
Estimated hours taken: 14 Branches: main Change the compiler and tools so that `.' and not `:' is now used as the module separator in all output. Infix `.' now has associativity yfx and priority 10. NEWS: Report the change. configure.in: Amend the test for an up-to-date Mercury compiler to check whether it recognises `.' as a module qualifier. compiler/code_gen.m: compiler/error_util.m: compiler/hlds_out.m: compiler/prog_out.m: compiler/prog_util.m: compiler/rl_exprn.m: compiler/rl_gen.m: compiler/source_file_map.m: compiler/unused_args.m: library/io.m: library/rtti_implementation.m: library/type_desc.m: runtime/mercury_debug.c: runtime/mercury_deconstruct.c: runtime/mercury_stack_trace.c: Change `:' to `.' as module separator for output. compiler/mercury_to_mercury.m: compiler/prog_io_typeclass.m: As above. Fixed a bug where `.' was not being recognised as a module separator. doc/reference_manual.texi: Report the change. library/term_io.m: Ensure that infix `.' is written without surrounding spaces. tests/hard_coded/dot_separator.m: tests/hard_coded/dot_separator.exp: tests/hard_coded/Mmakefile: Test case added.
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
E1: C1 1 CALL pred exception_value.main/2-0 (cc_multi) exception_value.m:12
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred exception_value.p/1-0 (det)
|
|
mdb> break q
|
|
1: + stop interface pred exception_value.q/1-0 (det)
|
|
mdb> continue
|
|
E2: C2 3 CALL pred exception_value.p/1-0 (det) exception_value.m:30
|
|
mdb> finish
|
|
E3: C2 3 EXCP pred exception_value.p/1-0 (det)
|
|
mdb> print exception
|
|
"p exception"
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons("p exception"))
|
|
E4: C3 3 CALL pred exception_value.q/1-0 (det) exception_value.m:35
|
|
mdb> finish
|
|
E5: C3 3 EXCP pred exception_value.q/1-0 (det)
|
|
mdb> browse exception
|
|
browser> set depth 9
|
|
browser> set size 99
|
|
browser> ls
|
|
-
|
|
1-"q oops"
|
|
2-[|]
|
|
1-1
|
|
2-[|]
|
|
1-2
|
|
2-[|]
|
|
1-3
|
|
2-[]
|
|
|
|
browser> quit
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons("q oops" - [1, 2, 3]))
|