projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c8294
)
(yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 22 Jul 2004 14:39:34 +0000
(14:39 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 22 Jul 2004 14:39:34 +0000
(14:39 +0000)
data/lalr1.cc
patch
|
blob
|
history
diff --git
a/data/lalr1.cc
b/data/lalr1.cc
index
fdd8c25
..
200f42d
100644
(file)
--- a/
data/lalr1.cc
+++ b/
data/lalr1.cc
@@
-161,7
+161,9
@@
b4_syncline([@oline@], [@ofile@])[
# define YYERROR_VERBOSE ]b4_error_verbose[
#endif
-#ifndef YYSTYPE
+#ifdef YYSTYPE
+typedef YYSTYPE yystype;
+#else
]m4_ifdef([b4_stype],
[b4_syncline([b4_stype_line], [b4_filename])
typedef union b4_stype yystype;