Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 05, 2017 [Issue 16603] [Lexical] comment definition is incorrrect | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16603 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |spec -- |
December 23, 2019 [Issue 16603] [Lexical] comment definition is incorrrect | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16603 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@d-ecke.de Severity|blocker |normal -- |
February 07, 2023 [Issue 16603] [Lexical] comment definition is incorrrect | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16603 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- The grammar is correct and the spec states: "Block comments can span multiple lines, but do not nest." This should suffice. -- |
February 07, 2023 [Issue 16603] [Lexical] comment definition is incorrrect | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16603 --- Comment #2 from Kevin <kevin@brogan.ca> --- 1) The technical language specification which one would use to build a parser is still incorrect, regardless of any flavour text in the description. 2) you only addressed the second part of the issue, completely ignoring the first. 3) your "it's good enough" comment is just another reminder as to why I pivoted away from the language. -- |
February 07, 2023 [Issue 16603] [Lexical] comment definition is incorrrect | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16603 kdevel <kdevel@vogtner.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kdevel@vogtner.de --- Comment #3 from kdevel <kdevel@vogtner.de> --- (In reply to Kevin from comment #0) > The c++ spec handles this by describing comments in a non technical manner. See [lex.comment] in the spec. Correct: https://eel.is/c++draft/lex.comment Another technical mistake one finds in D's definition of StringLiteral: https://dlang.org/spec/lex.html#string_literals while the C++ standards carefully define what can be inside of the quotation marks (s-chars) https://eel.is/c++draft/lex.string -- |
Copyright © 1999-2021 by the D Language Foundation