https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:fda30a3c8a7c6b06f02be40e3fd0740f893a1b4f

commit r15-3990-gfda30a3c8a7c6b06f02be40e3fd0740f893a1b4f
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Tue Oct 1 14:26:31 2024 +0100

    PR modula2/116918 -fswig correct syntax

    This patch fixes the syntax for the generated swig interface file.
    The % characters in fprintf require escaping.

    gcc/m2/ChangeLog:

            PR modula2/116918
            * gm2-compiler/M2Swig.mod (AnnotateProcedure): Capitalize
            the generated comment, split comment into multiple lines and
            terminate the comment with ".  */".
            (DoCheckUnbounded): Escape the % character with %%.
            (DoWriteFile): Ditto.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to