From: Janne Blomqvist Date: Wed, 15 May 2019 19:33:32 +0000 (+0300) Subject: Remove translation string markers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=193f241906489ee3154a69054c0e2e60e0d7d35b;p=gcc.git Remove translation string markers C preprocessor definitions should not be translated. 2019-05-15 Janne Blomqvist * parse.c (gfc_parse_file): Remove translation string markers. From-SVN: r271261 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 512e6322f3a..b836610d820 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2019-05-15 Janne Blomqvist + + * parse.c (gfc_parse_file): Remove translation string markers. + 2019-05-12 Janne Blomqvist * dump-parse-tree.c (get_c_type_name): Use macros for complex type diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 155534cd822..8947299bc1f 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -6334,18 +6334,18 @@ done: if (flag_c_prototypes || flag_c_prototypes_external) { fprintf (stdout, - _("#include \n" - "#ifdef __cplusplus\n" - "#include \n" - "#define __GFORTRAN_FLOAT_COMPLEX std::complex\n" - "#define __GFORTRAN_DOUBLE_COMPLEX std::complex\n" - "#define __GFORTRAN_LONG_DOUBLE_COMPLEX std::complex\n" - "extern \"C\" {\n" - "#else\n" - "#define __GFORTRAN_FLOAT_COMPLEX float _Complex\n" - "#define __GFORTRAN_DOUBLE_COMPLEX double _Complex\n" - "#define __GFORTRAN_LONG_DOUBLE_COMPLEX long double _Complex\n" - "#endif\n\n")); + "#include \n" + "#ifdef __cplusplus\n" + "#include \n" + "#define __GFORTRAN_FLOAT_COMPLEX std::complex\n" + "#define __GFORTRAN_DOUBLE_COMPLEX std::complex\n" + "#define __GFORTRAN_LONG_DOUBLE_COMPLEX std::complex\n" + "extern \"C\" {\n" + "#else\n" + "#define __GFORTRAN_FLOAT_COMPLEX float _Complex\n" + "#define __GFORTRAN_DOUBLE_COMPLEX double _Complex\n" + "#define __GFORTRAN_LONG_DOUBLE_COMPLEX long double _Complex\n" + "#endif\n\n"); } /* First dump BIND(C) prototypes. */ @@ -6361,8 +6361,7 @@ done: gfc_dump_external_c_prototypes (stdout); if (flag_c_prototypes || flag_c_prototypes_external) - fprintf (stdout, - _("\n#ifdef __cplusplus\n}\n#endif\n")); + fprintf (stdout, "\n#ifdef __cplusplus\n}\n#endif\n"); /* Do the translation. */ translate_all_program_units (gfc_global_ns_list);