Fix an obscure macro evaluation bug on windows

This commit is contained in:
2022-12-18 00:16:36 +00:00
parent 9510ca75b9
commit 6d16fc6f0c

View File

@@ -65,7 +65,7 @@ class Stream {
}
private function new(file:String, content:String) {
this.file = file;
this.file = file.replace('\\', '/');
// Banish ye Windows line-endings
if (content.indexOf('\r') >= 0) {