Fix parsing of string literals which contain zero character.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov
2015-08-17 20:48:44 +03:00
parent e0dee65a36
commit b3b87add02
2 changed files with 9 additions and 11 deletions
+2
View File
@@ -18,3 +18,5 @@ try {
catch (e) {
assert (false);
}
assert ("x\0y" !== "x\0z");