Skip to content

Commit

Permalink
Merge pull request #1294 from autumnull/patch-1
Browse files Browse the repository at this point in the history
Disallow newline directly following `//`
  • Loading branch information
ehuss authored Nov 15, 2022
2 parents 5100e84 + 219e336 commit fc039cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **<sup>Lexer</sup>**\
> LINE_COMMENT :\
> &nbsp;&nbsp; &nbsp;&nbsp; `//` (~\[`/` `!`] | `//`) ~`\n`<sup>\*</sup>\
> &nbsp;&nbsp; &nbsp;&nbsp; `//` (~\[`/` `!` `\n`] | `//`) ~`\n`<sup>\*</sup>\
> &nbsp;&nbsp; | `//`
>
> BLOCK_COMMENT :\
Expand Down

0 comments on commit fc039cf

Please sign in to comment.