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

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

Issue 2967363003: enable fasta scanner in analyzer by default (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta_codes_generated.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/scanner/scanner.dart
diff --git a/pkg/front_end/lib/src/scanner/scanner.dart b/pkg/front_end/lib/src/scanner/scanner.dart
index e532eda02ce59eacc7bc941d6c9c9d187bc3b5f1..d20ba0baea2a316ae8f7f2695db1125830bebf1d 100644
--- a/pkg/front_end/lib/src/scanner/scanner.dart
+++ b/pkg/front_end/lib/src/scanner/scanner.dart
@@ -129,7 +129,8 @@ abstract class Scanner {
* A flag indicating whether the analyzer [Scanner] factory method
* will return a fasta based scanner or an analyzer based scanner.
*/
- static bool useFasta = const bool.fromEnvironment("useFastaScanner");
+ static bool useFasta =
+ const bool.fromEnvironment("useFastaScanner", defaultValue: true);
/**
* The reader used to access the characters in the source.
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta_codes_generated.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698