mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
compiler/prog_item.m:
Clarify the documentation of include_module items.
tests/invalid/bad_include.{m,err_exp}:
A new test case to test diagnostics for different kinds of invalid
include_module items.
tests/invalid/Mmakefile:
Enable the new test case.
7 lines
374 B
Plaintext
7 lines
374 B
Plaintext
bad_include.m:017: Error: symbol name expected at 42.
|
|
bad_include.m:018: Error: symbol name expected at f([1, 2, 3]).
|
|
bad_include.m:019: Error: module qualifier in definition does not match
|
|
bad_include.m:019: preceding `:- module' declaration.
|
|
bad_include.m:020: Error: module qualifier in definition does not match
|
|
bad_include.m:020: preceding `:- module' declaration.
|