tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
Estimated hours taken: 1
Branches: main and 0.12
Allow Mercury programs written with a Windows application (like edit)
to be compiled on a unix system.
Previously Mercury gave "illegal character" errors.
library/lexer.m:
Replace checks for space, tab or newline characters with a call
to char.is_whitespace. char.is_whitespace also checks for
carriage returns and linefeeds.
Allow a carriage return character to appear before a newline
when checking for `\' at the end of a line.
tests/hard_coded/Mmakefile:
tests/hard_coded/dos.exp:
tests/hard_coded/dos.m:
Test that a Windows format source file compiles.