mirror of
https://github.com/corda/corda.git
synced 2025-06-24 10:18:27 +00:00
treat carriage returns as whitespace when parsing types.def
On Windows, some versions of Git automatically translate Unix line endings to Windows line endings, which can break the build unless we treat carriage returns as whitespace when parsing.
This commit is contained in:
@ -790,7 +790,7 @@ read(Input* in, Object* eos, int level)
|
||||
}
|
||||
} break;
|
||||
|
||||
case ' ': case '\t': case '\n': {
|
||||
case ' ': case '\t': case '\n': case '\r': {
|
||||
if (s.first) {
|
||||
return String::make(s.first);
|
||||
}
|
||||
|
Reference in New Issue
Block a user