Bigcheese wrote: > I have a question, when the input does not meet the restrictions of P1857R3, > do we need to fallback to the old parsing method to perform error recovery?
Hmm, that would probably be the most useful. There's not any ambiguity about what the user meant by: ``` import a; ``` For `import a; import b;` I think we should error with "extra tokens at end of import directive", but still parse the next `import` as an import decl (rather than skipping or as a normal decl). In general I think we should try to continue where it's reasonably easy to do. https://github.com/llvm/llvm-project/pull/107168 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits