]> git.saurik.com Git - bison.git/commit
* src/bison.simple: Define type yystype instead of YYSTYPE, and
authorAkim Demaille <akim@epita.fr>
Mon, 12 Nov 2001 09:24:14 +0000 (09:24 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 12 Nov 2001 09:24:14 +0000 (09:24 +0000)
commit5f7e08323a452b0b55ad94b8c866970a2929d9ad
treecf7d26dfdb66558f8f283ae12a4a35b265da1e71
parente3f1699f5554776a9211b410f3ebdaa6120e62df
* src/bison.simple: Define type yystype instead of YYSTYPE, and
define CPP macro, which substitute YYSTYPE by yystype.
* src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
with yyltype/YYLTYPE.  This allows inclusion of the generated
header within the parser if the compiler, such as GGC, accepts
multiple equivalent #defines.
From Akim.
ChangeLog
src/bison.simple
src/reader.c