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

Unified Diff: runtime/vm/token.h

Issue 2005723004: Fraction class prototype and test (not to be committed). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: work in progress Created 4 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 | « runtime/vm/symbols.h ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/token.h
diff --git a/runtime/vm/token.h b/runtime/vm/token.h
index 6ddf17ba87b18a1288ca2303a222fcc49e5f51ad..be613524c7e268e8d5aed04efb17aea4f6bc3707 100644
--- a/runtime/vm/token.h
+++ b/runtime/vm/token.h
@@ -121,6 +121,7 @@ namespace dart {
TOK(kIDENT, "", 0, kNoAttribute) \
TOK(kSTRING, "", 0, kNoAttribute) \
TOK(kINTEGER, "", 0, kNoAttribute) \
+ TOK(kRATIONAL, "", 0, kNoAttribute) \
TOK(kDOUBLE, "", 0, kNoAttribute) \
\
TOK(kINTERPOL_VAR, "$", 0, kNoAttribute) \
@@ -292,6 +293,7 @@ class Token {
(tok == Token::kSTRING) ||
(tok == Token::kINTERPOL_VAR) ||
(tok == Token::kERROR) ||
+ (tok == Token::kRATIONAL) ||
(tok == Token::kDOUBLE));
}
« no previous file with comments | « runtime/vm/symbols.h ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698