5233 |
@node Environment Variables |
@node Environment Variables |
5234 |
@section Environment Variables |
@section Environment Variables |
5235 |
@cindex environment variables |
@cindex environment variables |
|
@cindex BISON_HAIRY |
|
5236 |
@cindex BISON_SIMPLE |
@cindex BISON_SIMPLE |
5237 |
|
|
5238 |
Here is a list of environment variables which affect the way Bison |
Here is a list of environment variables which affect the way Bison |
5240 |
|
|
5241 |
@table @samp |
@table @samp |
5242 |
@item BISON_SIMPLE |
@item BISON_SIMPLE |
|
@itemx BISON_HAIRY |
|
5243 |
Much of the parser generated by Bison is copied verbatim from a file |
Much of the parser generated by Bison is copied verbatim from a file |
5244 |
called @file{bison.simple}. If Bison cannot find that file, or if you |
called @file{bison.simple}. If Bison cannot find that file, or if you |
5245 |
would like to direct Bison to use a different copy, setting the |
would like to direct Bison to use a different copy, setting the |
5246 |
environment variable @code{BISON_SIMPLE} to the path of the file will |
environment variable @code{BISON_SIMPLE} to the path of the file will |
5247 |
cause Bison to use that copy instead. |
cause Bison to use that copy instead. |
|
|
|
|
When the @samp{%semantic-parser} declaration is used, Bison copies from |
|
|
a file called @file{bison.hairy} instead. The location of this file can |
|
|
also be specified or overridden in a similar fashion, with the |
|
|
@code{BISON_HAIRY} environment variable. |
|
|
|
|
5248 |
@end table |
@end table |
5249 |
|
|
5250 |
@node Option Cross Key |
@node Option Cross Key |