Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: sdk/lib/_internal/compiler/implementation/dart2js.dart

Issue 11362113: Revert "Use new library/import syntax in dart2js." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js; 5 #library('dart2js');
6 6
7 import 'dart:io'; 7 #import('dart:io');
8 import 'dart:uri'; 8 #import('dart:uri');
9 import 'dart:utf'; 9 #import('dart:utf');
10 10
11 import '../compiler.dart' as api; 11 #import('../compiler.dart', prefix: 'api');
12 import 'colors.dart' as colors; 12 #import('colors.dart', prefix: 'colors');
13 import 'source_file.dart'; 13 #import('source_file.dart');
14 import 'filenames.dart'; 14 #import('filenames.dart');
15 import 'util/uri_extras.dart'; 15 #import('util/uri_extras.dart');
16 16
17 const String LIBRARY_ROOT = '../../../../..'; 17 const String LIBRARY_ROOT = '../../../../..';
18 const String OUTPUT_LANGUAGE_DART = 'Dart'; 18 const String OUTPUT_LANGUAGE_DART = 'Dart';
19 19
20 typedef void HandleOption(String option); 20 typedef void HandleOption(String option);
21 21
22 class OptionHandler { 22 class OptionHandler {
23 String pattern; 23 String pattern;
24 HandleOption handle; 24 HandleOption handle;
25 25
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 } catch (ignored) { 426 } catch (ignored) {
427 print('Internal error: error while printing exception'); 427 print('Internal error: error while printing exception');
428 } 428 }
429 try { 429 try {
430 print(trace); 430 print(trace);
431 } finally { 431 } finally {
432 exit(253); // 253 is recognized as a crash by our test scripts. 432 exit(253); // 253 is recognized as a crash by our test scripts.
433 } 433 }
434 } 434 }
435 } 435 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/colors.dart ('k') | sdk/lib/_internal/compiler/implementation/filenames.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698