Test various spaces in JavaScript source code. (#1554)

Fixes #1551.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2017-02-01 08:47:26 +01:00
committed by László Langó
parent 107c058bb1
commit 32f130916f
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ skip_spaces (parser_context_t *context_p) /**< context */
&& context_p->source_p[2] == 0xbf)
{
/* Codepoint \uFEFF */
context_p->source_p += 2;
context_p->source_p += 3;
context_p->column++;
continue;
}