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

Side by Side Diff: frog/leg/tools/mini_parser.dart

Issue 9190038: Handle escapes in string literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed validation from scanner Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frog/leg/ssa/ssa.dart ('k') | frog/leg/util/characters.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('parser'); 5 #library('parser');
6 6
7 #import('../../../utils/utf8/utf8.dart'); 7 #import('../../../utils/utf8/utf8.dart');
8 8
9 #import('../elements/elements.dart'); 9 #import('../elements/elements.dart');
10 #import('../scanner/scanner_implementation.dart'); 10 #import('../scanner/scanner_implementation.dart');
11 #import('../scanner/scannerlib.dart'); 11 #import('../scanner/scannerlib.dart');
12 #import('../tree/tree.dart'); 12 #import('../tree/tree.dart');
13 #import('../util/characters.dart');
13 14
14 #source('../../source.dart'); 15 #source('../../source.dart');
15 #source('../scanner/byte_array_scanner.dart'); 16 #source('../scanner/byte_array_scanner.dart');
16 #source('../scanner/byte_strings.dart'); 17 #source('../scanner/byte_strings.dart');
17 18
18 int charCount = 0; 19 int charCount = 0;
19 Stopwatch stopwatch; 20 Stopwatch stopwatch;
20 21
21 void main() { 22 void main() {
22 filesWithCrashes = []; 23 filesWithCrashes = [];
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 String _GREEN_COLOR = '\u001b[32m'; 317 String _GREEN_COLOR = '\u001b[32m';
317 String _RED_COLOR = '\u001b[31m'; 318 String _RED_COLOR = '\u001b[31m';
318 String _MAGENTA_COLOR = '\u001b[35m'; 319 String _MAGENTA_COLOR = '\u001b[35m';
319 String _NO_COLOR = '\u001b[0m'; 320 String _NO_COLOR = '\u001b[0m';
320 321
321 class Mock { 322 class Mock {
322 const Mock(); 323 const Mock();
323 bool get useColors() => true; 324 bool get useColors() => true;
324 internalError(message) { throw message.toString(); } 325 internalError(message) { throw message.toString(); }
325 } 326 }
OLDNEW
« no previous file with comments | « frog/leg/ssa/ssa.dart ('k') | frog/leg/util/characters.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698