[Issue 16603] [Lexical] comment definition is incorrrect
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Feb  7 21:45:07 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16603
kdevel <kdevel at vogtner.de> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdevel at vogtner.de
--- Comment #3 from kdevel <kdevel at 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
--
    
    
More information about the Digitalmars-d-bugs
mailing list