public static void waitForEOL(StreamTokenizer tokenizer) throws IOException {
  while (tokenizer.nextToken() != StreamTokenizer.TT_EOL) {
  }
  ;
  tokenizer.pushBack();
}

public static void waitForEOL ( StreamTokenizer tokenizer ) throws IOException { while ( tokenizer . nextToken ( ) != StreamTokenizer . TT_EOL ) { } ; tokenizer . pushBack ( ) ; }
skips all tokens before next end of line ( eol ) .
