pub fn convert(pp: &[PpToken], cx: &Convert<'_>) -> (Tokens, Vec<Diagnostic>)Expand description
Converts a stream of preprocessing tokens into tokens.
The stream is what came out of macro expansion, so it has no directives left in it. A spelling that will not convert produces a diagnostic and a token that stands in for it, so that one bad constant does not cost the rest of the file its parse.