(ret state)
| 144 | } |
| 145 | |
| 146 | func doubleDashCommentStateBuilder(ret state) state { |
| 147 | return func(l *lexer) state { |
| 148 | l.start = l.pos + 3 |
| 149 | |
| 150 | for { |
| 151 | b := l.next() |
| 152 | if b == eof || b == lf { |
| 153 | break |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | l.emit(TComment) |
| 158 | |
| 159 | return ret |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | func blockCommentStateBuilder(ret state) state { |
| 164 | return func(l *lexer) state { |
no test coverage detected