@@ -40,6 +40,7 @@ var compilerSources = [
4040 "utilities.ts" ,
4141 "binder.ts" ,
4242 "checker.ts" ,
43+ "sourcemap.ts" ,
4344 "declarationEmitter.ts" ,
4445 "emitter.ts" ,
4546 "program.ts" ,
@@ -59,6 +60,7 @@ var servicesSources = [
5960 "utilities.ts" ,
6061 "binder.ts" ,
6162 "checker.ts" ,
63+ "sourcemap.ts" ,
6264 "declarationEmitter.ts" ,
6365 "emitter.ts" ,
6466 "program.ts" ,
@@ -466,7 +468,7 @@ compileFile(servicesFile, servicesSources,[builtLocalDirectory, copyright].conca
466468 var nodeDefinitionsFileContents = definitionFileContents + "\r\nexport = ts;" ;
467469 fs . writeFileSync ( nodeDefinitionsFile , nodeDefinitionsFileContents ) ;
468470
469- // Node package definition file to be distributed without the package. Created by replacing
471+ // Node package definition file to be distributed without the package. Created by replacing
470472 // 'ts' namespace with '"typescript"' as a module.
471473 var nodeStandaloneDefinitionsFileContents = definitionFileContents . replace ( / d e c l a r e ( n a m e s p a c e | m o d u l e ) t s / g, 'declare module "typescript"' ) ;
472474 fs . writeFileSync ( nodeStandaloneDefinitionsFile , nodeStandaloneDefinitionsFileContents ) ;
@@ -875,7 +877,7 @@ var tslintRulesOutFiles = tslintRules.map(function(p) {
875877desc ( "Compiles tslint rules to js" ) ;
876878task ( "build-rules" , tslintRulesOutFiles ) ;
877879tslintRulesFiles . forEach ( function ( ruleFile , i ) {
878- compileFile ( tslintRulesOutFiles [ i ] , [ ruleFile ] , [ ruleFile ] , [ ] , /*useBuiltCompiler*/ false , /*noOutFile*/ true , /*generateDeclarations*/ false , path . join ( builtLocalDirectory , "tslint" ) ) ;
880+ compileFile ( tslintRulesOutFiles [ i ] , [ ruleFile ] , [ ruleFile ] , [ ] , /*useBuiltCompiler*/ false , /*noOutFile*/ true , /*generateDeclarations*/ false , path . join ( builtLocalDirectory , "tslint" ) ) ;
879881} ) ;
880882
881883function getLinterOptions ( ) {
@@ -937,7 +939,7 @@ function lintWatchFile(filename) {
937939 if ( event !== "change" ) {
938940 return ;
939941 }
940-
942+
941943 if ( ! lintSemaphores [ filename ] ) {
942944 lintSemaphores [ filename ] = true ;
943945 lintFileAsync ( getLinterOptions ( ) , filename , function ( err , result ) {
0 commit comments