1
0
forked from Mirror/wren

Handle invalid string literals.

This commit is contained in:
Bob Nystrom
2014-02-02 10:31:46 -08:00
parent 7e850637f9
commit ac7cb594f4
6 changed files with 48 additions and 9 deletions

View File

@ -0,0 +1,2 @@
// expect error line 2
"\u00"

View File

@ -0,0 +1,2 @@
// expect error line 2
"\u004

View File

@ -0,0 +1,2 @@
// expect error line 2
"not a \m real escape"

View File

@ -0,0 +1,2 @@
// expect error line 2
"\u00no"

View File

@ -0,0 +1,2 @@
// expect error line 2
"this string has no close quote