@assertion_exception{e} is an alias I define in my Doxyfile:

        ALIASES   = "assertion_exception=@exception
assertion_exception\nalways" \
                         "assertion_exception{1}=@exception
assertion_exception\n<code>\1</code> is <code>false</code>" \
                         "assertion_exception{2}=\assertion_exception{\1}
(only when <code>#ECCL_DEBUG >= \2</code>)" \
                         "Cpp11=The <i>2011 C++ Standard</i> (INCITS/ISO/IEC
14882-2011[2012])" \
                         "Cpp11short=The <i>2011 C++ Standard</i>" \
                         "cpp11=the <i>2011 C++ Standard</i> (INCITS/ISO/IEC
14882-2011[2012])" \
                         "cpp11short=the <i>2011 C++ Standard</i>"

Geoff Alexander

-----Original Message-----
From: Richard Damon <rich...@damon-family.org> 
Sent: Saturday, May 05, 2018 9:50 AM
To: doxygen-users@lists.sourceforge.net
Subject: Re: [Doxygen-users] Unexpected warning after upgrading to Doxygen
1.8.14

On 5/5/18 1:05 AM, Geoff Alexander wrote:
>
> I get an unexpected warning with Doxygen 1.8.14, which I don’t get 
> with Doxygen 1.8.13.
>
>  
>
>    gdlxn@linux-6edc:~/bugs/b159> /usr/local/doxygen-1.8.13/bin/doxygen
> Doxyfile.1.8.13
>
>    gdlxn@linux-6edc:~/bugs/b159> /usr/local/doxygen-1.8.14/bin/doxygen
> Doxyfile.1.8.14
>
>    /home/gdlxn/bugs/b159/test1.hpp:5: warning: unexpected token in 
> comment block while parsing the argument of command exception
>
>  
>
> Here's the contents of test1.hpp:
>
>  
>
> --- begin ---
>
> /**
>
> * ECCL_ASSERT(e) is a macro that throws an eccl::assertion_exception 
> if
>
> * @a e is <code>false</code>.
>
> *
>
> * @param e the expression tested
>
> *
>
> * @assertion_exception{e}
>
> */
>
> #define ECCL_ASSERT(e) \
>
>   if (!(e)) { \
>
>       std::string message = "\""; \
>
>       message += #e; \
>
>       message += "\" is false"; \
>
>       throw eccl::assertion_exception(message); \
>
>   }
>
> --- end ---
>
>  
>
> Is this a known bug in Doxygen 1.8.14?  If not, what's the best way to 
> report it?
>
>  
>
> Thanks,
>
> Geoff Alexander
>
What is @assertion_exception ?

--
Richard Damon


----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to