| 284 | } |
| 285 | |
| 286 | void handleSet() |
| 287 | { |
| 288 | // SET(var ...) following a documentation block is assumed to be a variable declaration. |
| 289 | if (_lastToken != CMakeLexer::TOK_DOXYGEN_COMMENT) |
| 290 | { |
| 291 | // No comment block before |
| 292 | nextToken(); |
| 293 | } else if(!parseSet()) |
| 294 | { |
| 295 | // skip token for error recovery |
| 296 | nextToken(); |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | void handleDoxygenComment() |
| 301 | { |