Fixed bugs in nextStringOrCharLiteral
Added private function getNextRealChar to manage escaped chars