Add missing RegExp case in the token_type_to_string

JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan [email protected]
This commit is contained in:
Szilard Ledan authored and Evgeny Gavrin committed 2015-07-16 10:04:03 +03:00
1 parent 4fdb5249b9
commit d2457b1fc6
2 files changed
+11

No files matched your search

+10
View File
@@ -107,3 +107,13 @@ catch (e)
{
assert (e instanceof SyntaxError);
}
try
{
eval ("v_0 = {a: Math, /[]/};");
assert (false);
}
catch(e)
{
assert (e instanceof SyntaxError);
}