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

Unified Diff: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart

Issue 11361118: 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
index 536cfa44038fde44ab296498d852be2b1aadc096..ea5677109d374b6b5de5d04a6fe6ce0d6dd87437 100644
--- a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
@@ -2,26 +2,26 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library('parser');
+library parser;
-#import('dart:io');
-#import('dart:scalarlist');
+import 'dart:io';
+import 'dart:scalarlist';
-#import('dart:utf');
+import 'dart:utf';
-#import('../elements/elements.dart');
-#import('../scanner/scanner_implementation.dart');
-#import('../scanner/scannerlib.dart');
-#import('../tree/tree.dart');
-#import('../util/characters.dart');
-#import('../source_file.dart');
-#import('../ssa/ssa.dart');
+import '../elements/elements.dart';
+import '../scanner/scanner_implementation.dart';
+import '../scanner/scannerlib.dart';
+import '../tree/tree.dart';
+import '../util/characters.dart';
+import '../source_file.dart';
+import '../ssa/ssa.dart';
-#import('../../compiler.dart', prefix: 'api');
+import '../../compiler.dart' as api;
-#source('../diagnostic_listener.dart');
-#source('../scanner/byte_array_scanner.dart');
-#source('../scanner/byte_strings.dart');
+part '../diagnostic_listener.dart';
+part '../scanner/byte_array_scanner.dart';
+part '../scanner/byte_strings.dart';
int charCount = 0;
Stopwatch stopwatch;

Powered by Google App Engine
This is Rietveld 408576698