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

Unified Diff: runtime/vm/scanner.cc

Issue 17609004: Removed dead code: ConsumeIdentChar (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | « runtime/vm/scanner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scanner.cc
===================================================================
--- runtime/vm/scanner.cc (revision 24370)
+++ runtime/vm/scanner.cc (working copy)
@@ -392,19 +392,6 @@
}
-RawString* Scanner::ConsumeIdentChars(bool allow_dollar) {
- ASSERT(IsIdentStartChar(c0_));
- ASSERT(allow_dollar || (c0_ != '$'));
- int ident_length = 0;
- int32_t ident_pos = lookahead_pos_;
- while (IsIdentChar(c0_) && (allow_dollar || (c0_ != '$'))) {
- ReadChar();
- ident_length++;
- }
- return Symbols::New(source_, ident_pos, ident_length);
-}
-
-
void Scanner::SkipLine() {
while (c0_ != '\n' && c0_ != '\0') {
ReadChar();
« no previous file with comments | « runtime/vm/scanner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698