scanWhileSp consumes spaces.
()
| 36 | |
| 37 | // scanWhileSp consumes spaces. |
| 38 | func (s *scanner) scanWhileSp() { |
| 39 | for !s.eof() { |
| 40 | if s.data[s.off] != ' ' { |
| 41 | return |
| 42 | } |
| 43 | |
| 44 | s.off++ |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | // scanWhileOWS consumes optional white space (OWS) characters. |
| 49 | func (s *scanner) scanWhileOWS() { |
no test coverage detected