Re: [Doxygen-users] Missing \endcode? message
Brought to you by:
dimitri
From: Albert <alb...@gm...> - 2014-04-16 17:27:10
|
doxygen sees the /*/ as a new start of a comment and at the end of the scanning process this will result in the warning as shown. In the git version we also get the message: warning: Reached end of file while still inside a (nested) comment. Nesting level 2 (probable line reference: 5, 5) replacing /*/ by / */ will solve the problem (signals in my opinion also better the intention of the comment line). Another possibility would be to use // as comment On Wed, Apr 16, 2014 at 5:02 PM, Arthur Schwarz <asc...@at...>wrote: > > > Doxygen v1.8.6 > > > Diagnostic Message: SlipWrite.cpp:10: warning: File ended in the middle of > a comment block! Perhaps a missing \endcode? > > > Removing the namespace slip { }; or replacing "/*/" with "*/" removes the > warning. Namespace seems to work in other contexts and I don't think that > "/*/" is a valid Doxygen command. Is this a bug? > > > > ================== code ================== > > namespace slip { > void SlipWrite::fitOutput(string& str) { > static const char xTable[256] = > { > /* sp ! " # $ % & ' ( ) * + - > , . /*/ > SPC, IGN, QUO, IGN, IGN, IGN, IGN, CHR, IGN, IGN, IGN, IGN, IGN, > IGN, IGN, 0, > }; > }; // void SlipWrite::fitOutput(string& str) > }; > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |