()
| 200 | } |
| 201 | |
| 202 | func (l *Scanner) fetchQuotedString() (ok bool) { |
| 203 | l.pos++ |
| 204 | |
| 205 | n := ScanUntil(l.data[l.pos:], '"') |
| 206 | if n == -1 { |
| 207 | l.err = true |
| 208 | return false |
| 209 | } |
| 210 | |
| 211 | l.itemType = ItemString |
| 212 | l.itemBytes = RemoveByte(l.data[l.pos:l.pos+n], '\\') |
| 213 | l.pos += n + 1 |
| 214 | |
| 215 | return true |
| 216 | } |
| 217 | |
| 218 | func (l *Scanner) fetchComment() (ok bool) { |
| 219 | l.pos++ |