Skip to content

Commit b3ce606

Browse files
authored
Merge pull request #1990 from epage/consistency
Ensure all lexical elements are SCREAMING_CASE
2 parents 0adfec3 + e44a967 commit b3ce606

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/comments.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ r[comments.syntax]
99
1010
BLOCK_COMMENT ->
1111
`/*`
12-
( ~[`*` `!`] | `**` | BlockCommentOrDoc )
13-
( BlockCommentOrDoc | ~`*/` )*
12+
( ~[`*` `!`] | `**` | BLOCK_COMMENT_OR_DOC )
13+
( BLOCK_COMMENT_OR_DOC | ~`*/` )*
1414
`*/`
1515
| `/**/`
1616
| `/***/`
@@ -19,18 +19,18 @@ BLOCK_COMMENT ->
1919
`//!` ~[LF CR]*
2020
2121
INNER_BLOCK_DOC ->
22-
`/*!` ( BlockCommentOrDoc | ~[`*/` CR] )* `*/`
22+
`/*!` ( BLOCK_COMMENT_OR_DOC | ~[`*/` CR] )* `*/`
2323
2424
@root OUTER_LINE_DOC ->
2525
`///` (~`/` ~[LF CR]*)?
2626
2727
OUTER_BLOCK_DOC ->
2828
`/**`
29-
( ~`*` | BlockCommentOrDoc )
30-
( BlockCommentOrDoc | ~[`*/` CR] )*
29+
( ~`*` | BLOCK_COMMENT_OR_DOC )
30+
( BLOCK_COMMENT_OR_DOC | ~[`*/` CR] )*
3131
`*/`
3232
33-
@root BlockCommentOrDoc ->
33+
@root BLOCK_COMMENT_OR_DOC ->
3434
BLOCK_COMMENT
3535
| OUTER_BLOCK_DOC
3636
| INNER_BLOCK_DOC

0 commit comments

Comments
 (0)