(l *Lexer)
| 210 | } |
| 211 | |
| 212 | func multiLineComment(l *Lexer) stateFn { |
| 213 | for { |
| 214 | r := l.next() |
| 215 | if r == eof { |
| 216 | return l.error("unclosed comment") |
| 217 | } |
| 218 | if r == '*' && l.accept("/") { |
| 219 | break |
| 220 | } |
| 221 | } |
| 222 | l.skip() |
| 223 | return root |
| 224 | } |
| 225 | |
| 226 | func pointer(l *Lexer) stateFn { |
| 227 | l.accept("#") |