Removed use of double pointer, lexer = const char*
Updated lexer use