History log of /PHP-Parser/test/code/parser/errorHandling/lexerErrors.test (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 23835d20 03-Sep-2022 Nikita Popov

Rename Scalar\LNumber to Scalar\Int_


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3
# b9b45dd2 30-Jun-2019 Nikita Popov

Insert T_BAD_CHARACTER tokens for missing characters

The token stream should cover all characters in the original code,
insert a dummy token for missing illegal characters. We should

Insert T_BAD_CHARACTER tokens for missing characters

The token stream should cover all characters in the original code,
insert a dummy token for missing illegal characters. We should
really be doing this in token_get_all() as well.

show more ...


Revision tags: v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1, v3.1.0, v3.0.6, v3.0.5, v3.0.4, v3.0.3
# 33552764 19-Jan-2017 Nikita Popov

Perform manual test updates


Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2
# c79ea6d1 30-Sep-2016 Nikita Popov

Support recovery from lexer errors

Lexer::startLexing() no longer throws, instead errors can be fetched
using Lexer::getErrors().

Lexer errors now also contain full line and pos

Support recovery from lexer errors

Lexer::startLexing() no longer throws, instead errors can be fetched
using Lexer::getErrors().

Lexer errors now also contain full line and position information.

show more ...


# c5e0c3d7 30-Sep-2016 Nikita Popov

Catch lexer errors in throwOnError=0 mode