summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2008-11-15 14:42:37 +0100
committerAkim Demaille <demaille@gostai.com>2008-11-15 14:42:37 +0100
commit4ea3f53d26588ab985b2a98176b139540344defe (patch)
treefbf90f0083e73209dd468919064a87c29f4953d0
parentb06df3c2c7e58cf8790d8f92905b8d217db992c2 (diff)
downloadbison-4ea3f53d26588ab985b2a98176b139540344defe.tar.gz
Regen.
* src/parse-gram.h, src/parse-gram.c: Regen.
-rw-r--r--ChangeLog4
-rw-r--r--src/parse-gram.c22
-rw-r--r--src/parse-gram.h14
3 files changed, 22 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index fea59045..399782b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-11-15 Akim Demaille <demaille@gostai.com>
+ * src/parse-gram.h, src/parse-gram.c: Regen.
+
+2008-11-15 Akim Demaille <demaille@gostai.com>
+
Support parametric types.
There are two issues to handle: first scanning nested angle
diff --git a/src/parse-gram.c b/src/parse-gram.c
index 1efab88b..870b1480 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 2.4.150-0305. */
+/* A Bison parser, made by GNU Bison 2.4.156-d497. */
/* Implementation for Bison's Yacc-like parsers in C
@@ -45,7 +45,7 @@
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "2.4.150-0305"
+#define YYBISON_VERSION "2.4.156-d497"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -229,9 +229,9 @@ static int current_prec = 0;
PIPE = 306,
PROLOGUE = 307,
SEMICOLON = 308,
- TYPE = 309,
- TYPE_TAG_ANY = 310,
- TYPE_TAG_NONE = 311,
+ TAG = 309,
+ TAG_ANY = 310,
+ TAG_NONE = 311,
PERCENT_UNION = 312
};
#endif
@@ -288,9 +288,9 @@ static int current_prec = 0;
#define PIPE 306
#define PROLOGUE 307
#define SEMICOLON 308
-#define TYPE 309
-#define TYPE_TAG_ANY 310
-#define TYPE_TAG_NONE 311
+#define TAG 309
+#define TAG_ANY 310
+#define TAG_NONE 311
#define PERCENT_UNION 312
@@ -700,10 +700,10 @@ static const char *const yytname[] =
"\"%skeleton\"", "\"%start\"", "\"%token-table\"", "\"%verbose\"",
"\"%yacc\"", "\"{...}\"", "\"char\"", "\"epilogue\"", "\"=\"",
"\"identifier\"", "\"identifier:\"", "\"%%\"", "\"|\"", "\"%{...%}\"",
- "\";\"", "\"type\"", "\"<*>\"", "\"<>\"", "\"%union\"", "$accept",
+ "\";\"", "\"<tag>\"", "\"<*>\"", "\"<>\"", "\"%union\"", "$accept",
"input", "prologue_declarations", "prologue_declaration",
"grammar_declaration", "union_name", "symbol_declaration", "$@1", "$@2",
- "precedence_declaration", "precedence_declarator", "type.opt",
+ "precedence_declaration", "precedence_declarator", "tag.opt",
"symbols.prec", "symbol.prec", "symbols.1", "generic_symlist",
"generic_symlist_item", "symbol_def", "symbol_defs.1", "grammar",
"rules_or_grammar_declaration", "rules", "$@3", "rhses.1", "rhs",
@@ -1113,7 +1113,7 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp)
/* Line 719 of yacc.c */
#line 1115 "../../src/parse-gram.c"
break;
- case 54: /* "\"type\"" */
+ case 54: /* "\"<tag>\"" */
/* Line 719 of yacc.c */
#line 187 "parse-gram.y"
diff --git a/src/parse-gram.h b/src/parse-gram.h
index 7f2b437a..998f7488 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 2.4.150-0305. */
+/* A Bison parser, made by GNU Bison 2.4.156-d497. */
/* Interface for Bison's Yacc-like parsers in C
@@ -89,9 +89,9 @@
PIPE = 306,
PROLOGUE = 307,
SEMICOLON = 308,
- TYPE = 309,
- TYPE_TAG_ANY = 310,
- TYPE_TAG_NONE = 311,
+ TAG = 309,
+ TAG_ANY = 310,
+ TAG_NONE = 311,
PERCENT_UNION = 312
};
#endif
@@ -148,9 +148,9 @@
#define PIPE 306
#define PROLOGUE 307
#define SEMICOLON 308
-#define TYPE 309
-#define TYPE_TAG_ANY 310
-#define TYPE_TAG_NONE 311
+#define TAG 309
+#define TAG_ANY 310
+#define TAG_NONE 311
#define PERCENT_UNION 312