projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regen
[bison.git]
/
src
/
parse-gram.h
diff --git
a/src/parse-gram.h
b/src/parse-gram.h
index 511800b7e9401b0b68610ea9cf38bef8c2e83fca..a7d50b58993f90d2f537d8c701f8333566ed1f2a 100644
(file)
--- a/
src/parse-gram.h
+++ b/
src/parse-gram.h
@@
-1,8
+1,8
@@
-/* A Bison parser, made by GNU Bison 2.
6.5.977-6d58-dirty
. */
+/* A Bison parser, made by GNU Bison 2.
7.1081-93af
. */
/* Bison interface for Yacc-like parsers in C
/* Bison interface for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-201
2
Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989-1990, 2000-201
3
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
@@
-32,7
+32,7
@@
#ifndef YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
# define YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
#ifndef YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
# define YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED
-/*
Enablin
g traces. */
+/*
Debu
g traces. */
#ifndef GRAM_DEBUG
# if defined YYDEBUG
#if YYDEBUG
#ifndef GRAM_DEBUG
# if defined YYDEBUG
#if YYDEBUG
@@
-48,8
+48,7
@@
extern int gram_debug;
#endif
/* "%code requires" blocks. */
extern int gram_debug;
#endif
/* "%code requires" blocks. */
-/* Line 1931 of yacc.c */
-#line 223 "src/parse-gram.y"
+#line 219 "src/parse-gram.y" /* yacc.c:1932 */
# ifndef PARAM_TYPE
# define PARAM_TYPE
# ifndef PARAM_TYPE
# define PARAM_TYPE
@@
-63,14
+62,11
@@
extern int gram_debug;
# endif
# endif
-/* Line 1931 of yacc.c */
-#line 68 "src/parse-gram.h"
+#line 66 "src/parse-gram.h" /* yacc.c:1932 */
-/* Token
s
. */
+/* Token
type
. */
#ifndef GRAM_TOKENTYPE
# define GRAM_TOKENTYPE
#ifndef GRAM_TOKENTYPE
# define GRAM_TOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
enum gram_tokentype
{
GRAM_EOF = 0,
enum gram_tokentype
{
GRAM_EOF = 0,
@@
-187,11
+183,12
@@
extern int gram_debug;
#define PERCENT_PARAM 310
#define PERCENT_UNION 311
#define PERCENT_PARAM 310
#define PERCENT_UNION 311
+/* Value type. */
#if ! defined GRAM_STYPE && ! defined GRAM_STYPE_IS_DECLARED
#if ! defined GRAM_STYPE && ! defined GRAM_STYPE_IS_DECLARED
-typedef union GRAM_STYPE
+typedef union GRAM_STYPE GRAM_STYPE;
+union GRAM_STYPE
{
{
-/* Line 1931 of yacc.c */
-#line 109 "src/parse-gram.y"
+#line 105 "src/parse-gram.y" /* yacc.c:1932 */
assoc assoc;
char *code;
assoc assoc;
char *code;
@@
-203,35
+200,35
@@
typedef union GRAM_STYPE
uniqstr uniqstr;
unsigned char character;
uniqstr uniqstr;
unsigned char character;
-/* Line 1931 of yacc.c */
-#line 247 "src/parse-gram.y"
+#line 243 "src/parse-gram.y" /* yacc.c:1932 */
param_type param;
param_type param;
-/* Line 1931 of yacc.c */
-#line 423 "src/parse-gram.y"
+#line 419 "src/parse-gram.y" /* yacc.c:1932 */
code_props_type code_type;
code_props_type code_type;
-/* Line 1931 of yacc.c */
-#line 217 "src/parse-gram.h"
-} GRAM_STYPE;
+#line 211 "src/parse-gram.h" /* yacc.c:1932 */
+};
# define GRAM_STYPE_IS_TRIVIAL 1
# define GRAM_STYPE_IS_DECLARED 1
#endif
# define GRAM_STYPE_IS_TRIVIAL 1
# define GRAM_STYPE_IS_DECLARED 1
#endif
+/* Location type. */
#if ! defined GRAM_LTYPE && ! defined GRAM_LTYPE_IS_DECLARED
#if ! defined GRAM_LTYPE && ! defined GRAM_LTYPE_IS_DECLARED
-typedef struct GRAM_LTYPE
+typedef struct GRAM_LTYPE GRAM_LTYPE;
+struct GRAM_LTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
{
int first_line;
int first_column;
int last_line;
int last_column;
-}
GRAM_LTYPE
;
+};
# define GRAM_LTYPE_IS_DECLARED 1
# define GRAM_LTYPE_IS_TRIVIAL 1
#endif
# define GRAM_LTYPE_IS_DECLARED 1
# define GRAM_LTYPE_IS_TRIVIAL 1
#endif
+
int gram_parse (void);
#endif /* !YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED */
int gram_parse (void);
#endif /* !YY_GRAM_SRC_PARSE_GRAM_H_INCLUDED */