Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SkipWhiteSpace(void) {
- char ch;
- while ((ch = ReadSymbol()) == ' ' || ch == '\n' || ch == '\t')
- ;
- /* if we read a character that wasn't whitespace
- * then we need to put it back
- */
- if (ch != ' ')
- UnReadSymbol(ch);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement