Files
mercury/tests/debugger/loopcheck.exp2
Ralph Becket a8ffd3680c Change the compiler and tools so that .' and not :' is now used as the
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.
2003-01-17 05:57:20 +00:00

25 lines
1.2 KiB
Plaintext

1: 1 1 CALL pred loopcheck.main/2-0 (det) loopcheck.m:13
mdb> echo on
Command echo enabled.
mdb> context nextline
Contexts will be printed on the next line.
mdb> continue -a
2: 2 2 CALL pred loopcheck.loop/1-0 (erroneous)
loopcheck.m:21 (from loopcheck.m:14)
3: 3 3 CALL pred loopcheck.loop/1-0 (erroneous)
loopcheck.m:21 (from loopcheck.m:21)
4: 4 4 CALL pred require.error/1-0 (erroneous)
require.m:NNNN (from loopcheck.m:21)
5: 4 4 EXCP pred require.error/1-0 (erroneous)
require.m:NNNN (from loopcheck.m:21)
6: 3 3 EXCP pred loopcheck.loop/1-0 (erroneous)
loopcheck.m:21 (from loopcheck.m:21)
7: 2 2 EXCP pred loopcheck.loop/1-0 (erroneous)
loopcheck.m:21 (from loopcheck.m:14)
8: 1 1 EXCP pred loopcheck.main/2-0 (det)
loopcheck.m:14
Uncaught Mercury exception:
Software Error: detected infinite recursion in pred loopcheck.loop/1
Last trace event was event #8.
Last trace event before the unhandled exception was event #4.