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

Unified Diff: pkg/compiler/tool/perf.dart

Issue 2738313002: rename fasta.Token.value --> lexeme (Closed)
Patch Set: Created 3 years, 9 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/compiler/tool/perf.dart
diff --git a/pkg/compiler/tool/perf.dart b/pkg/compiler/tool/perf.dart
index febe5906316abe6130a1ada918f324cf8bd065b3..ab7b91cecdf39b021442f3c78b1ae530c1f184d4 100644
--- a/pkg/compiler/tool/perf.dart
+++ b/pkg/compiler/tool/perf.dart
@@ -209,7 +209,7 @@ class DirectiveListener extends Listener {
void beginLiteralString(Token token) {
if (inDirective) {
- var quotedString = token.value;
+ var quotedString = token.lexeme;
targets.add(quotedString.substring(1, quotedString.length - 1));
}
}

Powered by Google App Engine
This is Rietveld 408576698