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

Unified Diff: lib/src/tokenizer.dart

Issue 1009053006: pkg/csslib: remove unused vars and fields (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: Created 5 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
« no previous file with comments | « lib/src/property.dart ('k') | lib/src/tree_printer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/tokenizer.dart
diff --git a/lib/src/tokenizer.dart b/lib/src/tokenizer.dart
index ed616d2d88fcd03ae596cea7a357a6b50857dc67..f5c52104f7c2e79731335cfe937b706ca686af52 100644
--- a/lib/src/tokenizer.dart
+++ b/lib/src/tokenizer.dart
@@ -40,7 +40,7 @@ class Tokenizer extends TokenizerBase {
_startIndex = _index;
ch = _nextChar();
- Token ident = finishIdentifier();
+ finishIdentifier();
// Is it a directive?
int tokId = TokenKind.matchDirectives(
@@ -260,7 +260,6 @@ class Tokenizer extends TokenizerBase {
Token finishIdentifier() {
// If we encounter an escape sequence, remember it so we can post-process
// to unescape.
- bool hasEscapedChars = false;
var chars = [];
// backup so we can start with the first character
« no previous file with comments | « lib/src/property.dart ('k') | lib/src/tree_printer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698