Commit Graph

8 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
Peter Ross
1167698388 Changes now that we report that an Uncaught exception comes
Estimated hours taken: 3
Branches: main


debugger/exception_cmd.exp:
debugger/exception_cmd.exp2:
debugger/exception_vars.exp:
debugger/exception_vars.exp2:
debugger/loopcheck.exp:
debugger/loopcheck.exp2:
debugger/polymorphic_output.exp:
debugger/polymorphic_output.exp2:
debugger/polymorphic_output.exp3:
general/string_format_test_2.exp:
general/string_format_test_2.exp2:
general/string_format_test_2.exp3:
general/string_format_test_2.exp4:
general/string_format_test_3.exp:
general/string_format_test_3.exp2:
general/string_format_test_3.exp3:
general/string_format_test_3.exp4:
hard_coded/foreign_type.m:
hard_coded/no_fully_strict.exp:
hard_coded/no_fully_strict.exp2:
hard_coded/no_fully_strict.exp3:
hard_coded/no_fully_strict.exp4:
hard_coded/exceptions/test_uncaught_exception.exp:
hard_coded/exceptions/test_uncaught_exception.exp2:
hard_coded/exceptions/test_uncaught_exception.exp3:
hard_coded/exceptions/test_uncaught_exception.exp4:
tabling/loopcheck.exp:
tabling/loopcheck.exp2:
tabling/loopcheck.exp3:
tabling/loopcheck.exp4:
	Changes now that we report that an Uncaught exception comes
	from Mercury.
2002-07-25 16:20:56 +00:00
Tyson Dowd
78fba023f6 Fix the expected test results to reflect the new implementation changes
Estimated hours taken: 0.3
Branches: main

Fix the expected test results to reflect the new implementation changes
to exception.m

tests/general/string_format_test_2.exp2:
tests/general/string_format_test_3.exp2:
tests/hard_coded/no_fully_strict.exp2:
tests/hard_coded/exceptions/test_uncaught_exception.exp2:
tests/tabling/loopcheck.exp2:
	Add throw_impl to the stack trace.
2001-08-30 12:54:01 +00:00
Fergus Henderson
8c0e563219 Fix a typo (missing ')') in my previous change.
Estimated hours taken: 0.1

tests/tabling/loopcheck.exp2:
	Fix a typo (missing ')') in my previous change.
2001-01-10 05:34:36 +00:00
Fergus Henderson
144a9dc26b Pipe the output of these test cases through sed to avoid
Estimated hours taken: 1

tests/debugger/declarative/Mmakefile:
tests/debugger/declarative/throw.exp2:
tests/hard_coded/exceptions/Mmakefile:
tests/hard_coded/exceptions/test_uncaught_exception.exp2:
tests/hard_coded/Mmakefile:
tests/hard_coded/no_fully_strict.exp2:
tests/tabling/Mmakefile:
tests/tabling/loopcheck.exp2:
	Pipe the output of these test cases through sed to avoid
	hard-coding dependencies on line numbers in the standard
	library.  These test cases were all failing because the
	line numbers were changed by trd's recent change to add
	code for the .NET back-end to the standard library.
2001-01-07 03:05:49 +00:00
Fergus Henderson
4986829594 Update the line numbers to reflect recent changes to
Estimated hours taken: 0.1

tests/tabling/loopcheck.exp2:
tests/hard_coded/no_fully_strict.exp2:
	Update the line numbers to reflect recent changes to
	library/exception.m.
2000-03-13 06:43:08 +00:00
Zoltan Somogyi
60238068ac Compile the files in the library directory with --trace minimum by default,
Estimated hours taken: 1

Compile the files in the library directory with --trace minimum by default,
which has no effect in non-debugging grades and causes the library to be
shallow traced, not deep traced, in debugging grades.

This is probably what most users want, and it makes it much easier to
maintain the expected output of the debugging test cases in debugging grades.

library/Mmakefile:
	Add --trace minimum to MCG.

tests/*/*:
	Update the test cases both for this change and for my previous change,
	the addition of line numbers.
1999-11-15 08:14:22 +00:00
Fergus Henderson
5cb3aa47ac Fix a bug:
Estimated hours taken: 0.25

compiler/table_gen.m:
	Fix a bug:
	s/table_mark_as_succeeded/table_simple_mark_as_succeeded/

tests/tabling/Mmakefile:
tests/tabling/loopcheck.m:
tests/tabling/loopcheck.exp:
tests/tabling/loopcheck.exp2:
	Regression test.
1999-10-29 06:53:50 +00:00