Skip to the end of the line (useful for recovering from errors in a directive)
| 849 | |
| 850 | // Skip to the end of the line (useful for recovering from errors in a directive) |
| 851 | static void SkipToEndOfLine(PreprocessorDirectiveContext* context) |
| 852 | { |
| 853 | while(!IsEndOfLine(context)) |
| 854 | { |
| 855 | AdvanceRawToken(context); |
| 856 | } |
| 857 | } |
| 858 | |
| 859 | static bool ExpectRaw(PreprocessorDirectiveContext* context, CoreLib::Text::TokenType tokenType, DiagnosticInfo const& diagnostic, Token* outToken = NULL) |
| 860 | { |
no test coverage detected