Compiler icon indicating copy to clipboard operation
Compiler copied to clipboard

Update Lexer.php

Open flip111 opened this issue 7 years ago • 5 comments

improve error handling avoid undescriptive php warning

flip111 avatar Oct 18 '18 21:10 flip111

Coverage Status

Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.

coveralls avatar Oct 18 '18 21:10 coveralls

Coverage Status

Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.

coveralls avatar Oct 18 '18 21:10 coveralls

Coverage Status

Coverage remained the same at ?% when pulling ee15300b7d2686a0f6e5118773d9eae197854bf6 on flip111:patch-1 into c620f44deff0b4c2d0c27560a3b0f5e7e376e001 on hoaproject:master.

coveralls avatar Oct 18 '18 21:10 coveralls

Can you explain how to reproduce the warning please?

Hywan avatar Feb 19 '19 20:02 Hywan

Put a token with an invalid regex. Maybe try [\d, i don't remember exactly what token i had on hand at the time

flip111 avatar Feb 19 '19 22:02 flip111