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

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

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

commit r14-11021-gaa38196eb45bfb8a8632381ba3e277deb1b25782
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Mon Dec 2 20:25:25 2024 +0000

    [PATCH] 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.

    (cherry picked from commit fda30a3c8a7c6b06f02be40e3fd0740f893a1b4f)

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>
  • [Bug modula2/116918] The -fswig... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to