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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/keyword.dart

Issue 14211008: Add support for rethrow and start treating throw <expr> as an expression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use ?:. Created 7 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
Index: sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart b/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
index 262a64ba8452a85cf495f75d359fc58aaa1c3315..9138e0ff12829a9b85c1789ab6879a6f0dbaf47f 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/keyword.dart
@@ -28,6 +28,7 @@ class Keyword extends IterableBase<int> implements SourceString {
const Keyword("in"),
const Keyword("new"),
const Keyword("null"),
+ const Keyword("rethrow"),
const Keyword("return"),
const Keyword("super"),
const Keyword("switch"),

Powered by Google App Engine
This is Rietveld 408576698