[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #define YYSTYPE
From: |
Hans Aberg |
Subject: |
Re: #define YYSTYPE |
Date: |
Fri, 23 Mar 2001 12:47:22 +0100 |
At 03:06 -0800 2001/03/23, santhosh santhosh wrote:
>"GNU Bison version 1.28"
> does not take "#define YYSTYPE" into consideration
>when generating the "y.tab.h" file.
> even if one defines "#define YYSTYPE float" the
>"y.tab.h" file gets the line "#define YYSTYPE int".
> you have to manually change this line in the .h file
The later version 1.28a writes
#ifndef YYSTYPE
# define YYSTYPE int
#endif
Thus one only has to define YYSTYPE before this header is read.
Hans Aberg
- #define YYSTYPE, santhosh santhosh, 2001/03/23
- Re: #define YYSTYPE,
Hans Aberg <=