Remove the need for a static function to call scanner.yylex