Thread overview
[Issue 14015] ddoc Error: function unmatched as result of underscore in unittest comment
Apr 08, 2015
Ludovit Lucenic
Apr 08, 2015
Ludovit Lucenic
Dec 17, 2022
Iain Buclaw
April 08, 2015
https://issues.dlang.org/show_bug.cgi?id=14015

Ludovit Lucenic <llucenic@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucenic@gmail.com

--- Comment #1 from Ludovit Lucenic <llucenic@gmail.com> ---
Same error in my case,  although, with different DDoc string. It happens after upgrading my project from 2.066 to 2.067:

/// Lexical type of a string literal
enum StringFormat : ubyte {
    /// string quoted with '"'
    Quoted = 0,
    /// wysiwyg quoted string starting with 'r"'
    RWysiwyg,
    /// wysiwyg string quoted with '`'
(245:)    BackquoteWysiwyg,
    /// hexadecimal quoted string starting with 'x"'
    Hex
}

gives:

src/les/lexer.d(245): Error: enum member les.lexer.StringFormat.BackquoteWysiwyg unmatched --- in DDoc comment

--
April 08, 2015
https://issues.dlang.org/show_bug.cgi?id=14015

--- Comment #2 from Ludovit Lucenic <llucenic@gmail.com> ---
(In reply to Ludovit Lucenic from comment #1)
> Same error in my case,  although, with different DDoc string. It happens after upgrading my project from 2.066 to 2.067:
> 
> /// Lexical type of a string literal
> enum StringFormat : ubyte {
> 	/// string quoted with '"'
> 	Quoted = 0,
> 	/// wysiwyg quoted string starting with 'r"'
> 	RWysiwyg,
> 	/// wysiwyg string quoted with '`'
> (245:)	BackquoteWysiwyg,
> 	/// hexadecimal quoted string starting with 'x"'
> 	Hex
> }
> 
> gives:
> 
> src/les/lexer.d(245): Error: enum member les.lexer.StringFormat.BackquoteWysiwyg unmatched --- in DDoc comment

I forgot to mention that changing the line 244 to:

     /// wysiwyg string quoted with '`'`

removes the compiler error.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=14015

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=14015

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18930

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--