https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Exactly. Seems clang doesn't bother with it and allows anything, but it is unclear if that is the best thing to do. Is name and comment just a single identifier, or any sequence of any tokens until end of line? And, shall the compiler verify proper nestin of these, e.g. reject #pragma endregion without earlier #pragma region, or #pragma region without termination, or whenever they aren't properly nested?