745 |
const char *epilogue = "\ |
const char *epilogue = "\ |
746 |
yystype;\n\ |
yystype;\n\ |
747 |
# define YYSTYPE yystype\n\ |
# define YYSTYPE yystype\n\ |
748 |
|
# define YYSTYPE_IS_TRIVIAL 1\n\ |
749 |
#endif\n"; |
#endif\n"; |
750 |
|
|
751 |
if (typed) |
if (typed) |
1618 |
/* We used to use `unsigned long' as YYSTYPE on MSDOS, |
/* We used to use `unsigned long' as YYSTYPE on MSDOS, |
1619 |
but it seems better to be consistent. |
but it seems better to be consistent. |
1620 |
Most programs should declare their own type anyway. */ |
Most programs should declare their own type anyway. */ |
1621 |
obstack_sgrow (&attrs_obstack, |
obstack_sgrow (&attrs_obstack, "\ |
1622 |
"#ifndef YYSTYPE\n#define YYSTYPE int\n#endif\n"); |
#ifndef YYSTYPE\n\ |
1623 |
|
# define YYSTYPE int\n\ |
1624 |
|
# define YYSTYPE_IS_TRIVIAL 1\n\ |
1625 |
|
#endif\n"); |
1626 |
if (defines_flag) |
if (defines_flag) |
1627 |
obstack_sgrow (&defines_obstack, "\ |
obstack_sgrow (&defines_obstack, "\ |
1628 |
# ifndef YYSTYPE\n\ |
# ifndef YYSTYPE\n\ |
1629 |
# define YYSTYPE int\n\ |
# define YYSTYPE int\n\ |
1630 |
|
# define YYSTYPE_IS_TRIVIAL 1\n\ |
1631 |
# endif\n"); |
# endif\n"); |
1632 |
} |
} |
1633 |
|
|
2048 |
} yyltype;\n\ |
} yyltype;\n\ |
2049 |
\n\ |
\n\ |
2050 |
# define YYLTYPE yyltype\n\ |
# define YYLTYPE yyltype\n\ |
2051 |
|
# define YYLTYPE_IS_TRIVIAL 1\n\ |
2052 |
#endif\n\ |
#endif\n\ |
2053 |
\n"); |
\n"); |
2054 |
} |
} |