Update projects to VC10. Fix build.
Use const char* instead of iterator to allow peeking at next character in expression.