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

Unified Diff: frog/leg/util/characters.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/leg/tools/mini_parser.dart ('k') | frog/tests/leg/src/BuiltinInterceptorTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/util/characters.dart
diff --git a/frog/leg/scanner/characters.dart b/frog/leg/util/characters.dart
similarity index 97%
rename from frog/leg/scanner/characters.dart
rename to frog/leg/util/characters.dart
index 752f4a0ab952e240aa3f3ebd365801808017a06e..910dae2efc9bf064564bcb785c3b4c417e60d572 100644
--- a/frog/leg/scanner/characters.dart
+++ b/frog/leg/util/characters.dart
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+#library("characters");
+
final int $EOF = 0;
final int $STX = 2;
final int $TAB = 9;
@@ -103,3 +105,5 @@ final int $BAR = 124;
final int $CLOSE_CURLY_BRACKET = 125;
final int $TILDE = 126;
final int $DEL = 127;
+final int $LS = 0x2028;
+final int $PS = 0x2029;
« no previous file with comments | « frog/leg/tools/mini_parser.dart ('k') | frog/tests/leg/src/BuiltinInterceptorTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698