Skip to content

Commit fc039cf

Browse files
authored
Merge pull request #1294 from autumnull/patch-1
Disallow newline directly following `//`
2 parents 5100e84 + 219e336 commit fc039cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> **<sup>Lexer</sup>**\
44
> LINE_COMMENT :\
5-
> &nbsp;&nbsp; &nbsp;&nbsp; `//` (~\[`/` `!`] | `//`) ~`\n`<sup>\*</sup>\
5+
> &nbsp;&nbsp; &nbsp;&nbsp; `//` (~\[`/` `!` `\n`] | `//`) ~`\n`<sup>\*</sup>\
66
> &nbsp;&nbsp; | `//`
77
>
88
> BLOCK_COMMENT :\

0 commit comments

Comments
 (0)