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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/scanner_main.dart

Issue 2722223006: Move all main methods to tool/. (Closed)
Patch Set: Update tools/patch_sdk.dart. Created 3 years, 10 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: pkg/front_end/lib/src/fasta/scanner/scanner_main.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/main.dart b/pkg/front_end/lib/src/fasta/scanner/scanner_main.dart
similarity index 95%
rename from pkg/front_end/lib/src/fasta/scanner/main.dart
rename to pkg/front_end/lib/src/fasta/scanner/scanner_main.dart
index ccd6acbab21883a185e046854f78825ae9280aee..f56aa98d06d63ba47a2719aedaa9f8090694596b 100644
--- a/pkg/front_end/lib/src/fasta/scanner/main.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/scanner_main.dart
@@ -20,7 +20,7 @@ scanAll(Map<Uri, List<int>> files) {
print("Bytes/ms: ${byteCount/sw.elapsedMilliseconds}");
}
-main(List<String> arguments) {
+mainEntryPoint(List<String> arguments) {
Map<Uri, List<int>> files = <Uri, List<int>>{};
Stopwatch sw = new Stopwatch()..start();
for (String name in arguments) {
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/main.dart ('k') | pkg/front_end/lib/src/fasta/scanner/testing/scanner_chain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698