Skip to content

unstable-version-0_12-branch-i686-pc-linux-libc2_2-gnu-O5

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.
Assets 2
Loading