()
| 440 | } |
| 441 | |
| 442 | func (s *scanner) next() int { |
| 443 | ch := s.peek() |
| 444 | if ch != eof { |
| 445 | s.pos++ |
| 446 | } |
| 447 | return ch |
| 448 | } |
| 449 | |
| 450 | // skipWhitespace skips over whitespace characters (space, tab, newline, etc) and comments. Multiple consecutive |
| 451 | // block comments and whitespace will be concatenated together into the final return value. |