mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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:
parent
d09e5ee8eb
commit
f0cb26ec51
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user