1 |
/* Parse command line arguments for bison. |
/* Parse command line arguments for bison. |
2 |
Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002 |
Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002, 2003 |
3 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of Bison, the GNU Compiler Compiler. |
This file is part of Bison, the GNU Compiler Compiler. |
35 |
extern int graph_flag; /* for -g */ |
extern int graph_flag; /* for -g */ |
36 |
extern int yacc_flag; /* for -y */ |
extern int yacc_flag; /* for -y */ |
37 |
|
|
38 |
|
/* GLR_PARSER is true if the input file says to use the GLR |
39 |
|
(Generalized LR) parser, and to output some additional information |
40 |
|
used by the GLR algorithm. */ |
41 |
|
|
42 |
|
extern bool glr_parser; |
43 |
|
|
44 |
|
/* PURE_PARSER is true if should generate a parser that is all pure |
45 |
|
and reentrant. */ |
46 |
|
|
47 |
|
extern bool pure_parser; |
48 |
|
|
49 |
|
/* NONDETERMINISTIC_PARSER is true iff conflicts are accepted. This |
50 |
|
is used by the GLR parser, and might be used in BackTracking |
51 |
|
parsers too. */ |
52 |
|
|
53 |
|
extern bool nondeterministic_parser; |
54 |
|
|
55 |
/* --trace. */ |
/* --trace. */ |
56 |
enum trace |
enum trace |
57 |
{ |
{ |