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

Unified Diff: lib/compiler/implementation/scanner/byte_array_scanner.dart

Issue 10539021: Scanner can include comments in the token stream. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nested comments bug fixed Created 8 years, 6 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: lib/compiler/implementation/scanner/byte_array_scanner.dart
diff --git a/lib/compiler/implementation/scanner/byte_array_scanner.dart b/lib/compiler/implementation/scanner/byte_array_scanner.dart
index cdc7248e5e14204564fef0206a8b0fc8800185e0..e9e10e3a9f8d490afa65d445a6d56dc633e01206 100644
--- a/lib/compiler/implementation/scanner/byte_array_scanner.dart
+++ b/lib/compiler/implementation/scanner/byte_array_scanner.dart
@@ -9,7 +9,7 @@
class ByteArrayScanner extends ArrayBasedScanner<ByteString> {
final List<int> bytes;
- ByteArrayScanner(List<int> this.bytes) : super();
+ ByteArrayScanner(List<int> this.bytes, [bool includeComments = false]) : super(includeComments);
ahe 2012/06/22 08:42:49 Line is longer than 80 characters.
int nextByte() => byteAt(++byteOffset);

Powered by Google App Engine
This is Rietveld 408576698