Commit Graph

3 Commits

Author SHA1 Message Date
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
Mark Brown
684740f620 Pipe the output of this test through sed to remove any
Estimated hours taken: 0.1
Branches: main

tests/debugger/Mmakefile:
tests/debugger/output_term_dep.exp2:
	Pipe the output of this test through sed to remove any
	dependency on the standard library.
2001-05-03 17:27:39 +00:00
Mark Brown
c519bebbf3 The test case tests/debugger/declarative/output_term_dep was disabled
Estimated hours taken: 0.5
Branches: main

The test case tests/debugger/declarative/output_term_dep was disabled
because mdb was reporting incorrect line numbers when the option
'--opt-space' was given.  This change improves the testing a bit.

tests/debugger/declarative/Mmakefile:
tests/debugger/declarative/output_term_dep.exp:
tests/debugger/declarative/output_term_dep.exp2:
tests/debugger/declarative/output_term_dep.inp:
	Enable this test case, but add a 'context none' command so that
	line numbers don't affect the output.

tests/debugger/Mmakefile:
tests/debugger/output_term_dep.exp:
tests/debugger/output_term_dep.exp2:
tests/debugger/output_term_dep.inp:
tests/debugger/output_term_dep.m:
	Perform a similar test here (without the 'context none'), since it
	exposes a bug in mdb.  This test is currently disabled.
2001-05-03 07:26:05 +00:00