This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

28
cppdraft/lex/comment.md Normal file
View File

@@ -0,0 +1,28 @@
[lex.comment]
# 5 Lexical conventions [[lex]](./#lex)
## 5.4 Comments [lex.comment]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/lex.tex#L512)
The characters /* start a comment, which terminates with the
characters */[.](#1.sentence-1)
These comments do not nest[.](#1.sentence-2)
The characters // start a comment, which terminates immediately before the
next new-line character[.](#1.sentence-3)
[*Note [1](#note-1)*:
The comment characters //, /*,
and */ have no special meaning within a // comment and
are treated just like other characters[.](#1.sentence-4)
Similarly, the comment
characters // and /* have no special meaning within a/* comment[.](#1.sentence-5)
— *end note*]