char.IsWhiteSpace() to test for white-space. The reason I didn't, was ignorance: I had totally forgot about that method. So it's probably a good idea to change the method SkipWhitespace to this: void SkipWhitespace() { while (char.IsWhiteSpace(fCurrentChar)) ReadNextChar(); }
0 comments:
Post a Comment