File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 17951795\indextext {literal!string}%
17961796\begin {bnf }
17971797\nontermdef {string-literal}\br
1798- \opt {encoding-prefix} \terminal {"} \opt {s-char-sequence} \terminal {"} \br
1798+ \opt {encoding-prefix} plain-string-literal \br
17991799 \opt {encoding-prefix} \terminal {R} raw-string
18001800\end {bnf }
18011801
1802+ \begin {bnf }
1803+ \nontermdef {plain-string-literal}\br
1804+ \terminal {"} \opt {s-char-sequence} \terminal {"}
1805+ \end {bnf }
1806+
18021807\begin {bnf }
18031808\nontermdef {s-char-sequence}\br
18041809 s-char \opt {s-char-sequence}
Original file line number Diff line number Diff line change 757757in the directive are processed just as in normal text
758758(i.e., each identifier currently defined as a macro name is replaced by its
759759replacement list of preprocessing tokens).
760+ After replacement,
761+ if the first preprocessing token is a \grammarterm {string-literal},
762+ it shall be a \grammarterm {plain-string-literal}.
760763Then, an attempt is made to form a \grammarterm {header-name}
761764preprocessing token\iref {lex.header } from the whitespace and the characters
762765of the spellings of the resulting sequence of preprocessing tokens;
You can’t perform that action at this time.
0 commit comments