diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-23 00:21:23 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-23 00:21:23 +0000 |
commit | 74894ed54d114f8e046e460c8dca6d2c40eb86ee (patch) | |
tree | 13baccf36ea5dce162aeabf9fbe76d9581a44f9e /devel/bison-devel/files/patch-getargs.c | |
parent | Update to version 4.58.1 (diff) |
Update to 1.29
* Added `-g' and `--graph'.
* Added `--locations' and `%locations'.
* Added `-S' and `--skeleton'.
* `%raw', `-r', `--raw' is disabled.
* Special characters are escaped when output. This solves the problems
* New directives.
`%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
`%debug', `%source_extension' and `%header_extension'.
* The input and the output files has automatically a similar extension.
Submitted by: demon
Diffstat (limited to 'devel/bison-devel/files/patch-getargs.c')
-rw-r--r-- | devel/bison-devel/files/patch-getargs.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/devel/bison-devel/files/patch-getargs.c b/devel/bison-devel/files/patch-getargs.c index a08818ef5ca3..60c244d3ca77 100644 --- a/devel/bison-devel/files/patch-getargs.c +++ b/devel/bison-devel/files/patch-getargs.c @@ -1,18 +1,18 @@ ---- src/getargs.c.orig Mon Jun 14 15:19:05 1999 -+++ src/getargs.c Mon Jan 17 03:38:56 2000 -@@ -31,6 +31,7 @@ - int noparserflag = 0; - int toknumflag = 0; - int rawtoknumflag = 0; +--- src/getargs.c.orig Sun Sep 23 02:08:44 2001 ++++ src/getargs.c Sun Sep 23 02:09:27 2001 +@@ -35,6 +35,7 @@ + int statistics_flag = 0; + int yacc_flag = 0; /* for -y */ + int graph_flag = 0; +int broken_undeftoken_init; - char *spec_name_prefix; /* for -p. */ - char *spec_file_prefix; /* for -b. */ - extern int fixed_outfiles;/* for -y */ -@@ -44,6 +45,7 @@ - struct option longopts[] = + const char *skeleton = NULL; + +@@ -42,6 +43,7 @@ + const char *shortopts = "yvgdhrltknVo:b:p:S:"; + static struct option longopts[] = { + {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1}, - {"debug", 0, &debugflag, 1}, - {"defines", 0, &definesflag, 1}, - {"file-prefix", 1, 0, 'b'}, + /* Operation modes. */ + {"help", no_argument, 0, 'h'}, + {"version", no_argument, 0, 'V'}, |