summaryrefslogtreecommitdiffstats
path: root/contrib/byacc/test/yacc/rename_debug.i
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/byacc/test/yacc/rename_debug.i')
-rw-r--r--contrib/byacc/test/yacc/rename_debug.i56
1 files changed, 56 insertions, 0 deletions
diff --git a/contrib/byacc/test/yacc/rename_debug.i b/contrib/byacc/test/yacc/rename_debug.i
new file mode 100644
index 0000000..b7b8014
--- /dev/null
+++ b/contrib/byacc/test/yacc/rename_debug.i
@@ -0,0 +1,56 @@
+#define YYPREFIX "yy"
+
+#define YYPURE 0
+
+#line 2 "code_debug.y"
+
+#ifdef YYBISON
+int yylex(void);
+static void yyerror(const char *);
+#endif
+
+
+#if ! defined(YYSTYPE) && ! defined(YYSTYPE_IS_DECLARED)
+/* Default: YYSTYPE is the semantic value type. */
+typedef int YYSTYPE;
+# define YYSTYPE_IS_DECLARED 1
+#endif
+
+/* compatibility with bison */
+#ifdef YYPARSE_PARAM
+/* compatibility with FreeBSD */
+# ifdef YYPARSE_PARAM_TYPE
+# define YYPARSE_DECL() yyparse(YYPARSE_PARAM_TYPE YYPARSE_PARAM)
+# else
+# define YYPARSE_DECL() yyparse(void *YYPARSE_PARAM)
+# endif
+#else
+# define YYPARSE_DECL() yyparse(void)
+#endif
+
+/* Parameters sent to lex. */
+#ifdef YYLEX_PARAM
+# define YYLEX_DECL() yylex(void *YYLEX_PARAM)
+# define YYLEX yylex(YYLEX_PARAM)
+#else
+# define YYLEX_DECL() yylex(void)
+# define YYLEX yylex()
+#endif
+
+/* Parameters sent to yyerror. */
+#ifndef YYERROR_DECL
+#define YYERROR_DECL() yyerror(const char *s)
+#endif
+#ifndef YYERROR_CALL
+#define YYERROR_CALL(msg) yyerror(msg)
+#endif
+
+extern int YYPARSE_DECL();
+
+extern int yydebug;
+extern int yynerrs;
+
+extern int yyerrflag;
+extern int yychar;
+extern YYSTYPE yyval;
+extern YYSTYPE yylval;
OpenPOWER on IntegriCloud