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
525530\tcode {defined}
526531unary operator),
527532just as in normal text.
533+ If replacement of macros in the preprocessing tokens following the sequence
534+ \tcode {\xname {has_embed} (} and before a matching \tcode {)}
535+ (possibly produced by macro expansion)
536+ encounters a preprocessing token that is one of the \grammarterm {identifier}s
537+ \tcode {limit}, \tcode {prefix}, \tcode {suffix}, or \tcode {if_empty}
538+ and that \grammarterm {identifier} is defined
539+ as a macro\iref {cpp.replace.general }, the program is ill-formed.
528540If the preprocessing token
529541\tcode {defined}
530542is generated as a result of this replacement process
You can’t perform that action at this time.
0 commit comments