Skip to content

Commit 9b4bf16

Browse files
(alx-0014r6-H) Refactor syntax of null directives
Signed-off-by: Alejandro Colomar <[email protected]>
1 parent 2f2dee4 commit 9b4bf16

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/preprocessor.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
line-directive\br
5656
diagnostic-directive\br
5757
pragma-directive\br
58-
\terminal{\# }new-line
58+
null-directive
5959
\end{bnf}
6060

6161
\begin{bnf}
@@ -2201,6 +2201,11 @@
22012201
\rSec1[cpp.null]{Null directive}%
22022202
\indextext{preprocessing directive!null}
22032203

2204+
\begin{bnf}
2205+
\nontermdef{null-directive}\br
2206+
\terminal{\# }new-line
2207+
\end{bnf}
2208+
22042209
\pnum
22052210
A preprocessing directive of the form
22062211
\begin{ncsimplebnf}

0 commit comments

Comments
 (0)