mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
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.
4 lines
78 B
Plaintext
4 lines
78 B
Plaintext
multi
|
|
line string
|
|
should be all on one line
|
|
'escaped functor' |