projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: more uniformity.
[bison.git]
/
src
/
parse-gram.h
diff --git
a/src/parse-gram.h
b/src/parse-gram.h
index 8bd4bc3dc60da081ebb993aa4aa5a6a8379c6112..97dbfcf33a87dbce06a550b109fdc5dce1572eb1 100644
(file)
--- a/
src/parse-gram.h
+++ b/
src/parse-gram.h
@@
-1,9
+1,8
@@
-/* A Bison parser, made by GNU Bison 2.
4.1.171-692d
. */
+/* A Bison parser, made by GNU Bison 2.
5.1.19-ced26-dirty
. */
-/*
Skeleton interface for Bison's
Yacc-like parsers in C
+/*
Bison interface for
Yacc-like parsers in C
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-31,6
+30,15
@@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
+#ifndef GRAM__________SRC_PARSE_GRAM_H
+# define GRAM__________SRC_PARSE_GRAM_H
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 1
+#endif
+#if YYDEBUG
+extern int gram_debug;
+#endif
/* Tokens. */
#ifndef YYTOKENTYPE
/* Tokens. */
#ifndef YYTOKENTYPE
@@
-156,13
+164,12
@@
-
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
-/* Line
1707
of yacc.c */
-#line
9
4 "parse-gram.y"
+/* Line
2063
of yacc.c */
+#line
11
4 "parse-gram.y"
symbol *symbol;
symbol_list *list;
symbol *symbol;
symbol_list *list;
@@
-176,16
+183,14
@@
typedef union YYSTYPE
-/* Line
1707
of yacc.c */
-#line 18
1
"parse-gram.h"
+/* Line
2063
of yacc.c */
+#line 18
8
"parse-gram.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
-
-
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE
{
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
typedef struct YYLTYPE
{
@@
-199,5
+204,19
@@
typedef struct YYLTYPE
# define YYLTYPE_IS_TRIVIAL 1
#endif
# define YYLTYPE_IS_TRIVIAL 1
#endif
+#ifdef YYPARSE_PARAM
+#if defined __STDC__ || defined __cplusplus
+int gram_parse (void *YYPARSE_PARAM);
+#else
+int gram_parse ();
+#endif
+#else /* ! YYPARSE_PARAM */
+#if defined __STDC__ || defined __cplusplus
+int gram_parse (void);
+#else
+int gram_parse ();
+#endif
+#endif /* ! YYPARSE_PARAM */
+#endif /* !GRAM__________SRC_PARSE_GRAM_H */