()
| 153 | } |
| 154 | |
| 155 | func (s *scanner) skipSeparator() int { // TODO is this the right name? |
| 156 | i, c := 0, s.current |
| 157 | s.assert(c == '[' || c == ']') |
| 158 | for s.saveAndAdvance(); s.current == '='; i++ { |
| 159 | s.saveAndAdvance() |
| 160 | } |
| 161 | if s.current == c { |
| 162 | return i |
| 163 | } |
| 164 | return -i - 1 |
| 165 | } |
| 166 | |
| 167 | func (s *scanner) readMultiLine(comment bool, sep int) (str string) { |
| 168 | if s.saveAndAdvance(); isNewLine(s.current) { |
no test coverage detected