Files
mercury/tests/warnings/double_underscore.exp
Fergus Henderson 865330b626 Fix a few places where it was treating functions as if they
Estimated hours taken: 1

compiler/make_hlds.m:
        Fix a few places where it was treating functions as if they
        were predicates in some of the error and warning messages.
        Also change a few of the messages slightly for consistency
        with other messages.

tests/warnings/Mmake:
tests/warnings/pragma_c_code_unused_var.m:
tests/warnings/pragma_c_code_unused_var.exp:
tests/warnings/singleton_test.m:
tests/warnings/singleton_test.exp:
        Add some test cases for singleton warnings in functions.
        Move the test in pragma_c_code_unused_var.m into
        singleton_test.m and remove pragma_c_code_unused_var.m.

tests/warnings/double_underscore.exp:
tests/warnings/pragma_source_file.exp:
	s/Warning/warning/g
1997-04-21 07:09:21 +00:00

5 lines
322 B
Plaintext

double_underscore.m:011: In clause for predicate `double_underscore:p/2':
double_underscore.m:011: warning: variable `_X' occurs more than once in this scope.
double_underscore.m:011: In clause for predicate `double_underscore:p/2':
double_underscore.m:011: warning: variable `_X' occurs more than once in this scope.