Returns the next character which is to be examined and updates thePOS slot. Respects extended mode, i.e. whitespace, comments, and alsonested comments are skipped if applicable.