[cpp.module] Cannot treat module directive as normal text#8344
[cpp.module] Cannot treat module directive as normal text#8344AlisdairM wants to merge 1 commit into
Conversation
With the application of papers restricting macros in module directives, there remain no valid transformations for treating any part of such a directive as normal text.
There was a problem hiding this comment.
I believe this is an undesirable normative change.
Note that pp-module has pp-tokens at the end (after the pp-module-partition), and those can contain macros, in particular function-like macros (and those can expand to nothing to yield a valid phase 7 "module" thing).
|
Withdrawn. I had missed the trailing pp-tokens in the pp-module, after the module name and module partition. Nevertheless the sentence I tried to remove is confusing, and appears to be an oversight when wording https://wg21.link/p1853 that added a further restriction against macro expansion in the pp-module-name and pp-module-partition when scanning for module names, i.e., the text between I will see if I can come back with a better clarification that does not accidentally change meaning. |
With the application of papers restricting macros in module directives, there remain no valid transformations for treating any part of such a directive as normal text.