Preserve newlines in our own compiler. This aids debugging as it keeps lines at a reasonable length and more closely matches the original source.

This commit is contained in:
Cyrus Najmabadi committed 2015-03-13 17:03:56 -07:00
1 parent 9445b03110
commit beb7fc4f85
7 files changed
+7478 -26265

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu
options += " --stripInternal"
}
options += " --cacheDownlevelForOfLength";
options += " --cacheDownlevelForOfLength --preserveNewLines";
var cmd = host + " " + dir + compilerFilename + " " + options + " ";
cmd = cmd + sources.join(" ");
+1469 -6033
View File
File diff suppressed because it is too large. Load diff
+2106 -6907
View File
File diff suppressed because it is too large. Load diff
-3
View File
@@ -1200,9 +1200,6 @@ declare module "typescript" {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
+1951 -6659
View File
File diff suppressed because it is too large. Load diff
-3
View File
@@ -1200,9 +1200,6 @@ declare module ts {
target?: ScriptTarget;
version?: boolean;
watch?: boolean;
stripInternal?: boolean;
preserveNewLines?: boolean;
cacheDownlevelForOfLength?: boolean;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
+1951 -6659
View File
File diff suppressed because it is too large. Load diff