More I/O fixes

Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
This commit is contained in:
Anders Hejlsberg
2014-07-16 10:49:11 -07:00
parent 546a8492f2
commit c1d0fd979d
12 changed files with 157 additions and 146 deletions

View File

@@ -14,6 +14,7 @@ module ts {
};
var options: CommandLineOption[] = [
{ name: "charset", type: "string" },
{ name: "codepage", type: "number" },
{ name: "declaration", type: "boolean" },
{ name: "diagnostics", type: "boolean" },