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

Unified Diff: test/lexer/cornercases/strings-and-identifiers-with-escapes.js

Issue 91143002: Experimental scanner: add test file for string / identifier escapes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lexer/cornercases/strings-and-identifiers-with-escapes.js
diff --git a/test/lexer/utf-1.js b/test/lexer/cornercases/strings-and-identifiers-with-escapes.js
similarity index 92%
copy from test/lexer/utf-1.js
copy to test/lexer/cornercases/strings-and-identifiers-with-escapes.js
index 2f1ef5209649d4c955c9e0478fd95036e529719c..dac6bf705140959ea3dd0747cf41d9f6c884a143 100644
--- a/test/lexer/utf-1.js
+++ b/test/lexer/cornercases/strings-and-identifiers-with-escapes.js
@@ -25,7 +25,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// This file is in utf-8 (or rather, ASCII), but doesn't contain any weird
-// characters.
+"this is a normal string"
+"this is a string with an \xaa escape"
+"this \u00ab too"
+"and \n this\t"
-var foobar = 16;
+identifierwith\u26aaescape
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698