Files
mercury/tests/hard_coded/dos.exp
Ian MacLarty 172080cdde Allow Mercury programs written with a Windows application (like edit)
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.
2005-09-07 08:30:02 +00:00

4 lines
78 B
Plaintext

multi
line string
should be all on one line
'escaped functor'