Re: preprocessor: Handle digit separators in #line [PR82359]

2021-04-29 Thread Joseph Myers
I've now committed this patch as preparation for further digit separator fixes and enabling digit separators for C2x, but would still welcome any C++ maintainer comments. -- Joseph S. Myers jos...@codesourcery.com

preprocessor: Handle digit separators in #line [PR82359]

2021-04-28 Thread Joseph Myers
As reported in bug 82359, the preprocessor does not allow C++ digit separators in the line number in a #line directive, despite the standard syntax for that directive using digit-sequence which allows digit separators. There is some confusion in that bug about whether C++ is meant to allow digit s