Fix printing of the source line with syntax error.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
This commit is contained in:
Andrey Shitov
2015-07-13 18:01:17 +03:00
parent 13cf31413f
commit 64bbf2752e
+2
View File
@@ -1566,6 +1566,8 @@ lexer_dump_line (size_t line) /**< line number */
size_t l = 0;
lit_utf8_iterator_t iter = src_iter;
lit_utf8_iterator_seek_bos (&iter);
while (!lit_utf8_iterator_is_eos (&iter))
{
ecma_char_t code_unit;