Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. void SkipWhiteSpace(void) {
  2.  
  3.   char ch;
  4.  
  5.   while ((ch = ReadSymbol()) == ' ' || ch == '\n' || ch == '\t')
  6.     ;
  7.    
  8.   /* if we read a character that wasn't whitespace
  9.    * then we need to put it back
  10.    */
  11.   if (ch != ' ')
  12.     UnReadSymbol(ch);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement