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

Unified Diff: pkg/front_end/lib/src/fasta/parser/error_kind.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
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/error_kind.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/error_kind.dart b/pkg/front_end/lib/src/fasta/parser/error_kind.dart
index a51f207e99bf61ef4cac6d68b8408681e97fa950..19b8953d42993b6a58dd20084064422b8dafd684 100644
--- a/pkg/front_end/lib/src/fasta/parser/error_kind.dart
+++ b/pkg/front_end/lib/src/fasta/parser/error_kind.dart
@@ -5,8 +5,10 @@
library fasta.parser.error_kind;
enum ErrorKind {
+ AsciiControlCharacter,
EmptyNamedParameterList,
EmptyOptionalParameterList,
+ Encoding,
ExpectedBlockToSkip,
ExpectedBody,
ExpectedButGot,
@@ -23,13 +25,14 @@ enum ErrorKind {
ExtraneousModifier,
ExtraneousModifierReplace,
InvalidAwaitFor,
- InvalidInputCharacter,
InvalidSyncModifier,
InvalidVoid,
- MalformedStringLiteral,
MissingExponent,
+ NonAsciiIdentifier,
+ NonAsciiWhitespace,
PositionalParameterWithEquals,
RequiredParameterWithDefault,
+ UnexpectedDollarInString,
UnexpectedToken,
UnmatchedToken,
UnsupportedPrefixPlus,
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698