Skip to content

Extra "<p>" is generated for an empty line outside of comments #475

@jpsacha

Description

@jpsacha

When parsing C++ source extra <p> is generated in Java code outside of the comments. A fragment of the source C++ code (including original indentation):

        /*@}*/
        /*@}*/

        /**
         *  @addtogroup Container_h Container Class
         */
        /*@{*/

        //*************************************************************
        // V A L U E _ V E C T O R
        //*************************************************************

        /**
         * @brief A vector of IValue pointers
         */
        class SPINNAKER_API value_vector

The Java code generated by JavaCPP (1.5.6-SNAPSHOT) resulted in:

        /*@}*/
        /*@}*/

        /**
         *  \addtogroup Container_h Container Class
         */
        /*@{*/

        //*************************************************************
        // V A L U E _ V E C T O R
        //*************************************************************
        <p>
        /**
         * \brief A vector of IValue pointers
         */
        @Namespace("Spinnaker::GenApi") @NoOffset @Properties(inherit = org.bytedeco.spinnaker.presets.Spinnaker.class)
public class value_vector extends Pointer {

Notice that there is extra <p> outside of the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions