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

Unified Diff: runtime/vm/json.cc

Issue 10175011: Rework mirrors implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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/json.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json.cc
===================================================================
--- runtime/vm/json.cc (revision 6851)
+++ runtime/vm/json.cc (working copy)
@@ -184,10 +184,13 @@
default:
if (IsLiteral("true")) {
token_ = TokenTrue;
+ token_length_ = 4;
} else if (IsLiteral("false")) {
token_ = TokenFalse;
+ token_length_ = 5;
} else if (IsLiteral("null")) {
token_ = TokenNull;
+ token_length_ = 4;
} else {
token_length_ = 0;
token_ = TokenIllegal;
« no previous file with comments | « runtime/vm/json.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698