diff options
author | YamaArashi <shadow962@live.com> | 2016-02-08 06:27:14 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-08 06:27:14 -0800 |
commit | b5fb6c8ffb25d2057ab7316c218eb67fe538340b (patch) | |
tree | 4c631ce7b82199fe440cb41729b07e1608c5d096 /gcc/c-parse.c | |
parent | a5c638ceaca09d018d041f15e7e2518c217250bc (diff) |
remove internationalization
Diffstat (limited to 'gcc/c-parse.c')
-rw-r--r-- | gcc/c-parse.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/gcc/c-parse.c b/gcc/c-parse.c index 5a0c169..c670e59 100644 --- a/gcc/c-parse.c +++ b/gcc/c-parse.c @@ -336,15 +336,7 @@ typedef short int yytype_int16; #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS -# if ENABLE_NLS -# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) -# endif -# endif -# ifndef YY_ -# define YY_(msgid) msgid -# endif +#define YY_(msgid) msgid #endif /* Suppress unused-variable warnings by "using" E. */ @@ -2111,15 +2103,6 @@ yysyntax_error (char *yyresult, int yystate, int yychar) char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; int yyx; -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif char *yyfmt; char const *yyf; static char const yyunexpected[] = "syntax error, unexpected %s"; |