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

Unified Diff: dart/lib/compiler/implementation/patch_parser.dart

Issue 11184046: Clean up leg.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 months 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: dart/lib/compiler/implementation/patch_parser.dart
diff --git a/dart/lib/compiler/implementation/patch_parser.dart b/dart/lib/compiler/implementation/patch_parser.dart
index cdbdd83535af6b7d13fa41b84dccf133fdf434ec..3ce4a080e9c845686b9b2ae72d4a5a8060f3d5d3 100644
--- a/dart/lib/compiler/implementation/patch_parser.dart
+++ b/dart/lib/compiler/implementation/patch_parser.dart
@@ -111,15 +111,16 @@
* - Work on function parameters is performed on the declaration of the function
* element.
*/
-#library("patchparser");
-
-#import("dart:uri");
-#import("tree/tree.dart", prefix: "tree");
-#import("leg.dart", prefix: 'leg'); // CompilerTask, Compiler.
-#import("apiimpl.dart");
-#import("scanner/scannerlib.dart"); // Scanner, Parsers, Listeners
-#import("elements/elements.dart");
-#import('util/util.dart');
+
+library patchparser;
+
+import "dart:uri";
+import "tree/tree.dart" as tree;
+import "dart2jslib.dart" as leg; // CompilerTask, Compiler.
+import "apiimpl.dart";
+import "scanner/scannerlib.dart"; // Scanner, Parsers, Listeners
+import "elements/elements.dart";
+import 'util/util.dart';
class PatchParserTask extends leg.CompilerTask {
PatchParserTask(leg.Compiler compiler): super(compiler);

Powered by Google App Engine
This is Rietveld 408576698