Determine if we have read everthing on the directive's line.
| 793 | |
| 794 | // Determine if we have read everthing on the directive's line. |
| 795 | static bool IsEndOfLine(PreprocessorDirectiveContext* context) |
| 796 | { |
| 797 | // Is the next token at the start of its own line? |
| 798 | // If so, we have read to the end of the directive. |
| 799 | return (PeekRawToken(context->preprocessor).flags & TokenFlag::AtStartOfLine) != 0; |
| 800 | } |
| 801 | |
| 802 | // Read one raw token in a directive, without going past the end of the line. |
| 803 | static Token AdvanceRawToken(PreprocessorDirectiveContext* context) |
no test coverage detected