|
59 | 59 | \terminal{\# }new-line
|
60 | 60 | \end{bnf}
|
61 | 61 |
|
62 |
| -\begin{bnf} |
63 |
| -\nontermdef{if-section}\br |
64 |
| - if-group \opt{elif-groups} \opt{else-group} endif-line |
65 |
| -\end{bnf} |
66 |
| - |
67 |
| -\begin{bnf} |
68 |
| -\nontermdef{if-group}\br |
69 |
| - \terminal{\# if \ \ \ \ } constant-expression new-line \opt{group}\br |
70 |
| - \terminal{\# ifdef \ } identifier new-line \opt{group}\br |
71 |
| - \terminal{\# ifndef } identifier new-line \opt{group} |
72 |
| -\end{bnf} |
73 |
| - |
74 |
| -\begin{bnf} |
75 |
| -\nontermdef{elif-groups}\br |
76 |
| - elif-group \opt{elif-groups} |
77 |
| -\end{bnf} |
78 |
| - |
79 |
| -\begin{bnf} |
80 |
| -\nontermdef{elif-group}\br |
81 |
| - \terminal{\# elif \ \ \ } constant-expression new-line \opt{group}\br |
82 |
| - \terminal{\# elifdef } identifier new-line \opt{group}\br |
83 |
| - \terminal{\# elifndef} identifier new-line \opt{group} |
84 |
| -\end{bnf} |
85 |
| - |
86 |
| -\begin{bnf} |
87 |
| -\nontermdef{else-group}\br |
88 |
| - \terminal{\# else \ \ } new-line \opt{group} |
89 |
| -\end{bnf} |
90 |
| - |
91 |
| -\begin{bnf} |
92 |
| -\nontermdef{endif-line}\br |
93 |
| - \terminal{\# endif \ } new-line |
94 |
| -\end{bnf} |
95 |
| - |
96 | 62 | \begin{bnf}
|
97 | 63 | \nontermdef{text-line}\br
|
98 | 64 | \opt{pp-tokens} new-line
|
|
275 | 241 | \indextext{preprocessing directive!conditional inclusion}%
|
276 | 242 | \indextext{inclusion!conditional|see{preprocessing directive, conditional inclusion}}
|
277 | 243 |
|
| 244 | +\begin{bnf} |
| 245 | +\nontermdef{if-section}\br |
| 246 | + if-group \opt{elif-groups} \opt{else-group} endif-line |
| 247 | +\end{bnf} |
| 248 | + |
| 249 | +\begin{bnf} |
| 250 | +\nontermdef{if-group}\br |
| 251 | + \terminal{\# if \ \ \ \ } constant-expression new-line \opt{group}\br |
| 252 | + \terminal{\# ifdef \ } identifier new-line \opt{group}\br |
| 253 | + \terminal{\# ifndef } identifier new-line \opt{group} |
| 254 | +\end{bnf} |
| 255 | + |
| 256 | +\begin{bnf} |
| 257 | +\nontermdef{elif-groups}\br |
| 258 | + elif-group \opt{elif-groups} |
| 259 | +\end{bnf} |
| 260 | + |
| 261 | +\begin{bnf} |
| 262 | +\nontermdef{elif-group}\br |
| 263 | + \terminal{\# elif \ \ \ } constant-expression new-line \opt{group}\br |
| 264 | + \terminal{\# elifdef } identifier new-line \opt{group}\br |
| 265 | + \terminal{\# elifndef} identifier new-line \opt{group} |
| 266 | +\end{bnf} |
| 267 | + |
| 268 | +\begin{bnf} |
| 269 | +\nontermdef{else-group}\br |
| 270 | + \terminal{\# else \ \ } new-line \opt{group} |
| 271 | +\end{bnf} |
| 272 | + |
| 273 | +\begin{bnf} |
| 274 | +\nontermdef{endif-line}\br |
| 275 | + \terminal{\# endif \ } new-line |
| 276 | +\end{bnf} |
| 277 | + |
278 | 278 | \indextext{\idxcode{defined}}%
|
279 | 279 | \begin{bnf}
|
280 | 280 | \nontermdef{defined-macro-expression}\br
|
|
0 commit comments