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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/keyword.dart

Issue 2664593002: Port parser and scanner fixes from rasta branch. (Closed)
Patch Set: Rebased on ef8ec26cf36d1f07b4fdf5d605003210826ae1c2. Created 3 years, 11 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: pkg/front_end/lib/src/fasta/scanner/keyword.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/keyword.dart b/pkg/front_end/lib/src/fasta/scanner/keyword.dart
index 2038c6b40a950b3d0bd139badce745a0292edaff..1b06fb9b2d0c97df17186c679f762f4ccf41347a 100644
--- a/pkg/front_end/lib/src/fasta/scanner/keyword.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/keyword.dart
@@ -74,16 +74,17 @@ class Keyword {
const Keyword("static", isBuiltIn: true),
const Keyword("typedef", isBuiltIn: true),
+ const Keyword("async", isPseudo: true),
+ const Keyword("await", isPseudo: true),
+ const Keyword("deferred", isPseudo: true),
const Keyword("hide", isPseudo: true),
const Keyword("native", isPseudo: true),
const Keyword("of", isPseudo: true),
const Keyword("on", isPseudo: true),
+ const Keyword("patch", isPseudo: true),
const Keyword("show", isPseudo: true),
const Keyword("source", isPseudo: true),
- const Keyword("deferred", isPseudo: true),
- const Keyword("async", isPseudo: true),
const Keyword("sync", isPseudo: true),
- const Keyword("await", isPseudo: true),
const Keyword("yield", isPseudo: true),
];
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/error_token.dart ('k') | pkg/front_end/lib/src/fasta/scanner/recover.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698