| 638 | } |
| 639 | |
| 640 | void simplecpp::TokenList::lineDirective(unsigned int fileIndex_, unsigned int line, Location &location) |
| 641 | { |
| 642 | if (fileIndex_ != location.fileIndex || line >= location.line) { |
| 643 | location.fileIndex = fileIndex_; |
| 644 | location.line = line; |
| 645 | return; |
| 646 | } |
| 647 | |
| 648 | if (line + 2 >= location.line) { |
| 649 | location.line = line; |
| 650 | while (cback()->op != '#') |
| 651 | deleteToken(back()); |
| 652 | deleteToken(back()); |
| 653 | return; |
| 654 | } |
| 655 | } |
| 656 | |
| 657 | static const std::string COMMENT_END("*/"); |
| 658 |
nothing calls this directly
no test coverage detected