/[bison]/bison/src/getargs.c
ViewVC logotype

Diff of /bison/src/getargs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24.2.1 by marc, Thu Aug 16 18:50:04 2001 UTC revision 1.24.2.2 by marc, Mon Sep 17 23:00:01 2001 UTC
# Line 60  static struct option longopts[] = Line 60  static struct option longopts[] =
60    {"token-table",       no_argument,            0, 'k'},    {"token-table",       no_argument,            0, 'k'},
61    
62    /* Output. */    /* Output. */
63    {"defines",           no_argument,            0, 'd'},    {"defines",           optional_argument,      0, 'd'},
64    {"verbose",           no_argument,            0, 'v'},    {"verbose",           no_argument,            0, 'v'},
65    {"file-prefix",       required_argument,      0, 'b'},    {"file-prefix",       required_argument,      0, 'b'},
66    {"output-file",       required_argument,      0, 'o'},    {"output-file",       required_argument,      0, 'o'},
67    {"graph",             no_argument,            0, 'g'},    {"graph",             optional_argument,      0, 'g'},
68    
69    /* Hidden. */    /* Hidden. */
70    {"statistics",        no_argument,    &statistics_flag, 1},    {"statistics",        no_argument,    &statistics_flag, 1},
# Line 183  getargs (int argc, char *argv[]) Line 183  getargs (int argc, char *argv[])
183          exit (0);          exit (0);
184    
185        case 'g':        case 'g':
186            /* Here, the -g and --graph=FILE options are differentiated.  */        
187          graph_flag = 1;          graph_flag = 1;
188            spec_graph_file = optarg;
189          break;          break;
190    
191        case 'v':        case 'v':
# Line 195  getargs (int argc, char *argv[]) Line 197  getargs (int argc, char *argv[])
197          break;          break;
198    
199        case 'd':        case 'd':
200            /* Here, the -d and --defines options are differentiated.  */
201          defines_flag = 1;          defines_flag = 1;
202            spec_defines_file = optarg;
203          break;          break;
204    
205        case 'l':        case 'l':

Legend:
Removed from v.1.24.2.1  
changed lines
  Added in v.1.24.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26