summaryrefslogtreecommitdiff
path: root/gcc/c-parse.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-08 06:27:14 -0800
committerYamaArashi <shadow962@live.com>2016-02-08 06:27:14 -0800
commitb5fb6c8ffb25d2057ab7316c218eb67fe538340b (patch)
tree4c631ce7b82199fe440cb41729b07e1608c5d096 /gcc/c-parse.c
parenta5c638ceaca09d018d041f15e7e2518c217250bc (diff)
remove internationalization
Diffstat (limited to 'gcc/c-parse.c')
-rw-r--r--gcc/c-parse.c19
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";