Fixed comment token extraction: will no longer read one character from the next line

This commit is contained in:
jane-olszewska 2017-02-06 18:09:57 +00:00
parent c18cd16960
commit bbb5cf1e4d

View File

@ -492,7 +492,7 @@ class Lexer
$line,
$col,
$prev,
mb_substr($body, $start + 1, $position - $start + 1, 'UTF-8')
mb_substr($body, $start + 1, $position - $start, 'UTF-8')
);
}
}