mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 09:14:08 +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.
104 lines
3.7 KiB
Plaintext
104 lines
3.7 KiB
Plaintext
1: 1 1 CALL pred completion.main/2-0 (det) completion.m:13
|
|
mdb> echo on
|
|
echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
register --quiet
|
|
mdb>
|
|
? document_category maxdepth return
|
|
P down mindepth s
|
|
alias e mmc_options save
|
|
all_regs echo modules scope
|
|
b enable next scroll
|
|
break exception nondet_stack set
|
|
browse excp p source
|
|
c f print stack
|
|
cc_query finish print_optionals stack_regs
|
|
context forward printlevel step
|
|
continue g proc_body table
|
|
current goto proc_stats table_io
|
|
d h procedures unalias
|
|
dd help query unhide_events
|
|
dd_dd ignore quit up
|
|
delete io_query r v
|
|
disable label_stats register vars
|
|
document level retry view
|
|
mdb> h
|
|
h help
|
|
mdb> help v
|
|
vars view
|
|
mdb> help vars
|
|
help vars
|
|
vars
|
|
Prints the names of all the known variables in the current
|
|
environment, together with an ordinal number for each variable.
|
|
mdb> p --flat
|
|
* --pretty -f -v exception
|
|
--flat --verbose -p DCG_0 goal
|
|
mdb> p --flat DCG_0
|
|
p --flat DCG_0
|
|
DCG_0 (arg 1) state('<<c_pointer>>')
|
|
mdb> sta
|
|
stack stack_regs
|
|
mdb> stack --detailed
|
|
stack --detailed
|
|
0 1 1 1 pred completion.main/2-0 (det) (completion.m:13) (empty)
|
|
mdb> proc
|
|
proc_body proc_stats procedures
|
|
mdb> procedures complet
|
|
completion completion.sub2
|
|
completion.sub1 completion.sub2.sub3
|
|
mdb> procedures completion.
|
|
completion.sub1 completion.sub2 completion.sub2.sub3
|
|
mdb> procedures completion.sub1
|
|
procedures completion.sub1
|
|
List of procedures in module `completion.sub1'
|
|
pred completion.sub1.zp/1-0 (det)
|
|
func completion.sub1.z1/0-0 (det)
|
|
mdb> set --flat format pretty
|
|
set --flat format pretty
|
|
mdb> unalias excp
|
|
unalias excp
|
|
Alias `excp' removed.
|
|
mdb> b zabc3
|
|
b zabc3
|
|
0: + stop interface func completion.sub2.sub3.zabc3/0-0 (det)
|
|
mdb> b func*complet
|
|
func*completion. func*completion.sub2.
|
|
func*completion.sub1. func*completion.sub2.sub3.
|
|
mdb> b func*completion.z
|
|
func*completion.z func*completion.zz
|
|
mdb> b func*completion.z
|
|
b func*completion.z
|
|
1: + stop interface func completion.z/0-0 (det)
|
|
mdb> b complet
|
|
completion. completion.sub2.
|
|
completion.sub1. completion.sub2.sub3.
|
|
mdb> b completion.s
|
|
completion.sub1. completion.sub2. completion.sub2.sub3.
|
|
mdb> b completion.sub1
|
|
completion.sub1.z1 completion.sub1.zp
|
|
mdb> b completion.sub1.z1
|
|
b completion.sub1.z1
|
|
2: + stop interface func completion.sub1.z1/0-0 (det)
|
|
mdb> b complet
|
|
completion. completion.sub2.
|
|
completion.sub1. completion.sub2.sub3.
|
|
mdb> b completion.s
|
|
completion.sub1. completion.sub2. completion.sub2.sub3.
|
|
mdb> b completion.sub2
|
|
completion.sub2. completion.sub2.sub3.
|
|
mdb> b completion.sub2.sub3.zabc3
|
|
b completion.sub2.sub3.zabc3
|
|
3: + stop interface func completion.sub2.sub3.zabc3/0-0 (det)
|
|
mdb> 2d
|
|
2d 2delete 2document_category
|
|
2dd 2disable 2down
|
|
2dd_dd 2document
|
|
mdb> 2delete
|
|
2delete
|
|
2: E stop interface func completion.sub1.z1/0-0 (det)
|
|
mdb> c
|
|
c
|
|
ok
|