Fix printing of the source line with syntax error.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov 2015-07-10 14:47:56 +03:00
parent 13cf31413f
commit 64bbf2752e

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;