Handle invalid string literals.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
"\u00"
|
||||
@@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
"\u004
|
||||
@@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
"not a \m real escape"
|
||||
@@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
"\u00no"
|
||||
@@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
"this string has no close quote
|
||||
Reference in New Issue
Block a user