Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / yy-remap.h
index 581338a16b1c69d15227bae59e1aa9ac42b56a86..cdd0aae8c6e09b127a3126a64bcc544fc131cab9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1986-2018 Free Software Foundation, Inc.
+/* Copyright (C) 1986-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -15,6 +15,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef YY_REMAP_H
+#define YY_REMAP_H
+
 /* Remap normal yacc parser interface names (yyparse, yylex, yyerror,
    etc), as well as gratuitiously global symbol names, so we can have
    multiple yacc generated parsers in gdb.  Note that these are only
@@ -89,4 +92,8 @@
 # define YYDEBUG 1  /* Default to yydebug support */
 #endif
 
-#define YYFPRINTF parser_fprintf
+#ifndef TEST_CPNAMES
+# define YYFPRINTF parser_fprintf
+#endif
+
+#endif /* YY_REMAP_H */
This page took 0.039593 seconds and 4 git commands to generate.