(leftDelim, rightDelim string)
| 181 | } |
| 182 | |
| 183 | func (l *lexer) setCommentDelimiters(leftDelim, rightDelim string) { |
| 184 | if leftDelim != "" { |
| 185 | l.leftComment = leftDelim |
| 186 | } |
| 187 | if rightDelim != "" { |
| 188 | l.rightComment = rightDelim |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | // next returns the next rune in the input. |
| 193 | func (l *lexer) next() rune { |