Fixed skipWhitespace breaking when there was no whitespace to skip