mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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:
parent
13cf31413f
commit
64bbf2752e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user