]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/byacc/test/yacc/rename_debug.i
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / byacc / test / yacc / rename_debug.i
1 #define YYPREFIX "yy"
2
3 #define YYPURE 0
4
5 #line 2 "code_debug.y"
6
7 #ifdef YYBISON
8 int yylex(void);
9 static void yyerror(const char *);
10 #endif
11
12
13 #if ! defined(YYSTYPE) && ! defined(YYSTYPE_IS_DECLARED)
14 /* Default: YYSTYPE is the semantic value type. */
15 typedef int YYSTYPE;
16 # define YYSTYPE_IS_DECLARED 1
17 #endif
18
19 /* compatibility with bison */
20 #ifdef YYPARSE_PARAM
21 /* compatibility with FreeBSD */
22 # ifdef YYPARSE_PARAM_TYPE
23 #  define YYPARSE_DECL() yyparse(YYPARSE_PARAM_TYPE YYPARSE_PARAM)
24 # else
25 #  define YYPARSE_DECL() yyparse(void *YYPARSE_PARAM)
26 # endif
27 #else
28 # define YYPARSE_DECL() yyparse(void)
29 #endif
30
31 /* Parameters sent to lex. */
32 #ifdef YYLEX_PARAM
33 # define YYLEX_DECL() yylex(void *YYLEX_PARAM)
34 # define YYLEX yylex(YYLEX_PARAM)
35 #else
36 # define YYLEX_DECL() yylex(void)
37 # define YYLEX yylex()
38 #endif
39
40 /* Parameters sent to yyerror. */
41 #ifndef YYERROR_DECL
42 #define YYERROR_DECL() yyerror(const char *s)
43 #endif
44 #ifndef YYERROR_CALL
45 #define YYERROR_CALL(msg) yyerror(msg)
46 #endif
47
48 extern int YYPARSE_DECL();
49
50 extern  int      yydebug;
51 extern  int      yynerrs;
52
53 extern  int      yyerrflag;
54 extern  int      yychar;
55 extern  YYSTYPE  yyval;
56 extern  YYSTYPE  yylval;