Factor out error handling out of Lexer construcor
Factor out error handling out of Lexer construcor

Makes the constructor more concise and puts the strange error handling stuff in separate methods

ovr/zephir-parser,saurabh180387/PHP-Parser,sdgdsffdsfff/PHP-Parser,suralc/PHP-Parser,cookpan001/PHP-Parser,paulgav/PHP-Parser,cwi-swat/PHP-Parser,etcinit/PHP-Parser,nikic/PHP-Parser,cwi-swat/PHP-Parser,paulgav/PHP-Parser,djun-kim/PHP-Parser,splp/PHP-Parser,kangkot/PHP-Parser,FireWalkerX/PHP-Parser,mintbridge/PHP-Parser,Trismegiste/PHP-Parser,nikic/PHP-Parser,schmittjoh/PHP-Parser