File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 275275semantics.
276276
277277\pnum
278+ If one of the \grammarterm {pp-tokens} of a \tcode {\# embed} directive
279+ (before macro replacement) is the \grammarterm {identifier}
280+ \tcode {limit}, \tcode {prefix}, \tcode {suffix}, or \tcode {if_empty}
281+ and that \grammarterm {identifier} is defined
282+ as a macro\iref {cpp.replace.general }, the program is ill-formed.
278283Any \grammarterm {embed-prefixed-parameter} is conditionally-supported,
279284with \impldef {supported forms of \# embed prefix parameters} semantics.
280285
523528\tcode {defined}
524529unary operator),
525530just as in normal text.
531+ If replacement of macros in the preprocessing tokens following the sequence
532+ \tcode {\xname {has_embed} (} and before a matching \tcode {)}
533+ (possibly produced by macro expansion)
534+ encounters a preprocessing token that is one of the \grammarterm {identifier}s
535+ \tcode {limit}, \tcode {prefix}, \tcode {suffix}, or \tcode {if_empty}
536+ and that \grammarterm {identifier} is defined
537+ as a macro\iref {cpp.replace.general }, the program is ill-formed.
526538If the preprocessing token
527539\tcode {defined}
528540is generated as a result of this replacement process
You can’t perform that action at this time.
0 commit comments