mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 15:26:31 +00:00
Address Zoltan's review comment about my previous change.
Estimated hours taken: 0.25 tests/debugger/Mmakefile: tests/debugger/completion.inp: tests/debugger/completion.exp: tests/debugger/completion.exp2: Address Zoltan's review comment about my previous change.
This commit is contained in:
@@ -136,9 +136,8 @@ cmd_quote.out: cmd_quote cmd_quote.inp
|
|||||||
|
|
||||||
# Set up readline to make it easier to use completion non-interactively.
|
# Set up readline to make it easier to use completion non-interactively.
|
||||||
completion.out: completion completion.inp
|
completion.out: completion completion.inp
|
||||||
INPUTRC=completion.inputrc $(MDB) ./completion < completion.inp 2>&1 | \
|
INPUTRC=completion.inputrc $(MDB) ./completion \
|
||||||
sed -e 's/There are [0-9]* debuggable modules, with a total of [0-9]* procedures./There are NNN debuggable modules, with a total of NNN procedures./' \
|
< completion.inp > completion.out 2>&1
|
||||||
> completion.out 2>&1
|
|
||||||
|
|
||||||
debugger_regs.out: debugger_regs debugger_regs.inp
|
debugger_regs.out: debugger_regs debugger_regs.inp
|
||||||
$(MDB) ./debugger_regs < debugger_regs.inp > debugger_regs.out 2>&1
|
$(MDB) ./debugger_regs < debugger_regs.inp > debugger_regs.out 2>&1
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
1: 1 1 CALL pred completion:main/2-0 (det) completion.m:13
|
1: 1 1 CALL pred completion:main/2-0 (det) completion.m:13
|
||||||
mdb> echo on
|
mdb> echo on
|
||||||
Command echo enabled.
|
Command echo enabled.
|
||||||
|
mdb> register --quiet
|
||||||
mdb>
|
mdb>
|
||||||
? down maxdepth return
|
? down maxdepth return
|
||||||
P e mindepth s
|
P e mindepth s
|
||||||
@@ -46,8 +47,6 @@ completion:sub1 completion:sub2:sub3
|
|||||||
|
|
||||||
completion:sub1 completion:sub2 completion:sub2:sub3
|
completion:sub1 completion:sub2 completion:sub2:sub3
|
||||||
procedures completion:sub1
|
procedures completion:sub1
|
||||||
Registering debuggable procedures... done.
|
|
||||||
There are NNN debuggable modules, with a total of NNN procedures.
|
|
||||||
List of procedures in module `completion:sub1'
|
List of procedures in module `completion:sub1'
|
||||||
|
|
||||||
pred completion:sub1:zp/1-0 (det)
|
pred completion:sub1:zp/1-0 (det)
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
mdb> echo on
|
mdb> echo on
|
||||||
echo on
|
echo on
|
||||||
Command echo enabled.
|
Command echo enabled.
|
||||||
|
mdb> register --quiet
|
||||||
|
register --quiet
|
||||||
mdb>
|
mdb>
|
||||||
? down maxdepth return
|
? down maxdepth return
|
||||||
P e mindepth s
|
P e mindepth s
|
||||||
@@ -51,8 +53,6 @@ mdb> procedures completion:
|
|||||||
completion:sub1 completion:sub2 completion:sub2:sub3
|
completion:sub1 completion:sub2 completion:sub2:sub3
|
||||||
mdb> procedures completion:sub1
|
mdb> procedures completion:sub1
|
||||||
procedures completion:sub1
|
procedures completion:sub1
|
||||||
Registering debuggable procedures... done.
|
|
||||||
There are NNN debuggable modules, with a total of NNN procedures.
|
|
||||||
List of procedures in module `completion:sub1'
|
List of procedures in module `completion:sub1'
|
||||||
|
|
||||||
pred completion:sub1:zp/1-0 (det)
|
pred completion:sub1:zp/1-0 (det)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
echo on
|
echo on
|
||||||
|
register --quiet
|
||||||
@h@e@v@a@
|
@h@e@v@a@
|
||||||
p --f@@H@
|
p --f@@H@
|
||||||
sta@ @
|
sta@ @
|
||||||
|
|||||||
Reference in New Issue
Block a user