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

Unified Diff: pkg/front_end/lib/src/scanner/token.dart

Issue 2757153002: update fasta scanner to generate two types of comments (Closed)
Patch Set: rebase Created 3 years, 9 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/scanner/precedence.dart ('k') | pkg/front_end/test/precedence_info_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/scanner/token.dart
diff --git a/pkg/front_end/lib/src/scanner/token.dart b/pkg/front_end/lib/src/scanner/token.dart
index b4138f75112f9b078fb87ad9eb5e62676e2af54b..34c308c255bb37435e990581ae21f13c0a45c1dd 100644
--- a/pkg/front_end/lib/src/scanner/token.dart
+++ b/pkg/front_end/lib/src/scanner/token.dart
@@ -899,13 +899,11 @@ abstract class TokenType {
static const TokenType KEYWORD = fasta.KEYWORD_INFO;
- static const TokenType MULTI_LINE_COMMENT =
- const fasta.PrecedenceInfo(null, 'MULTI_LINE_COMMENT', 0, -1);
+ static const TokenType MULTI_LINE_COMMENT = fasta.MULTI_LINE_COMMENT_INFO;
static const TokenType SCRIPT_TAG = fasta.SCRIPT_INFO;
- static const TokenType SINGLE_LINE_COMMENT =
- const fasta.PrecedenceInfo(null, 'SINGLE_LINE_COMMENT', 0, -1);
+ static const TokenType SINGLE_LINE_COMMENT = fasta.SINGLE_LINE_COMMENT_INFO;
static const TokenType STRING = fasta.STRING_INFO;
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/precedence.dart ('k') | pkg/front_end/test/precedence_info_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698