Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert the past 3 commits to what should have been the rev 1.18 -> rev 1.19 | obrien | 1999-07-30 | 1 | -1/+1 | |
| | | | | change. (doesn't anybody read commit logs and look at the diffs?) | |||||
* | Hyphens are not legal characters in a C identifier. | des | 1999-07-30 | 1 | -1/+1 | |
| | | | | Broken by: hoek | |||||
* | Even better fix for last commit: rename rcsid[] to _yacc-parser_rcsid[] | hoek | 1999-07-30 | 1 | -2/+2 | |
| | | | | (one always gets these ideas just after the commit). | |||||
* | Don't output rcsid into the output parser. It may have already been | hoek | 1999-07-30 | 1 | -2/+2 | |
| | | | | | defined in an input file such as src/bin/sh/arith.y. #if 0 it out. I did not add $Id$ back into the comment header (as removed from last commit). | |||||
* | Only output `rcsid' (set to our Id string) into the resulting parser file. | obrien | 1999-07-30 | 1 | -4/+2 | |
| | | | | | | Don't output `sccsid' (set to an anchient UCB Id string) into the parser file. Submitted by: bde | |||||
* | Follow the directions in the comments and add our Id string to the output | obrien | 1999-07-29 | 1 | -1/+2 | |
| | | | | file. | |||||
* | Check that user supplied the required argument; and if not, show usage(). | obrien | 1999-07-29 | 1 | -0/+5 | |
| | | | | Obtained from: OpenBSD | |||||
* | * Don't assume realloc() can take NULL as first arg. Yacc needs to | obrien | 1999-07-29 | 1 | -3/+11 | |
| | | | | | | | generate portable code... * Correctly define yyparse() (ie, K&R vs. C++/ANSI-C) Obtained from: OpenBSD revs 1.5 & 1.10 | |||||
* | YYRECOVERING(), not YYRECOVERING. | obrien | 1999-07-29 | 1 | -2/+2 | |
| | | | | Obtained from: OpenBSD rev 1.8 (approved by Robert Corbett) | |||||
* | Add support for Bison's "%expect <int>" directive. | obrien | 1999-07-29 | 3 | -7/+65 | |
| | | | | | | | I originally coded this myself, and now I realize {Net,Open}BSD had already coded this. I have tossed my version to reduce diffs between the projects. Obtained from: OpenBSD 2.5 | |||||
* | Regenerate to match changes made in the embedded yacc parser. | hoek | 1999-07-23 | 1 | -28/+70 | |
| | ||||||
* | Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect, | hoek | 1999-07-23 | 1 | -33/+75 | |
| | | | | | | | | it also fixes that fact that this file badly needed to be regenerated due to changes in yacc. Not done by: pst (in misc/1380) Almost done by: danny (in ftp.y) | |||||
* | Clean up some ambiguous nested if/elses. | billf | 1999-07-04 | 1 | -2/+3 | |
| | ||||||
* | Clean up the skeleton code a little. There was a #ifdef to avoid | peter | 1999-04-18 | 1 | -9/+1 | |
| | | | | | stdlib.h unless on C++. However, we already included it above, so there was no point using the redundant declarations instead. | |||||
* | "19%02", tm.year -> "%d", tm.year+1900 | danny | 1999-01-18 | 1 | -2/+2 | |
| | ||||||
* | Use mkstemp rather than mktemp for yacc's temp files. This change was made | imp | 1998-06-09 | 1 | -7/+20 | |
| | | | | | to OpenBSD a long time ago and to my tree shortly thereafter. I think theo made this change, or one similar to it, but I could be wrong. | |||||
* | Add #include <string.h> to get prototypes. | jb | 1998-02-20 | 1 | -1/+2 | |
| | ||||||
* | Use err(3). Rewrote man page in mdoc format. The user visible change is that | charnier | 1997-08-28 | 5 | -171/+148 | |
| | | | | | report of s/r and r/r conflicts is now printed in two separate lines beginning by `yacc: '. | |||||
* | Add back the description of the -o option. | steve | 1997-05-14 | 1 | -1/+13 | |
| | | | | Threatened PR by: Tim Vanderhoek :) | |||||
* | #include <stdlib.h> in the C++ case and declare getenv and realloc | steve | 1997-04-29 | 1 | -1/+11 | |
| | | | | | | | in the C case so that we don't have to depend on stdlib.h being present. Submitted by: Bruce Evans <bde@freefall.freebsd.org> | |||||
* | Keep style consistent. | steve | 1997-04-29 | 1 | -7/+7 | |
| | | | | Submitted by: Bruce Evans <bde@freefall.freebsd.org> | |||||
* | Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated | steve | 1997-04-28 | 2 | -16/+8 | |
| | | | | | | parsers. Closes PR #2792. Submitted by: Tim Vanderhoek | |||||
* | ``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) | jmg | 1997-04-27 | 1 | -7/+9 | |
| | | | | | add missing Id's other minor clean ups | |||||
* | Don't generate invalid C++ code (for implicit conversion from `void *' in | bde | 1997-03-22 | 1 | -3/+3 | |
| | | | | assignment). | |||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 14 | -14/+14 | |
| | ||||||
* | Implement the -o commandline switch. This does almost exactly | steve | 1997-02-16 | 1 | -12/+61 | |
| | | | | | | | what bison does with -o, except it DTRT with respect to naming the .code file when the -r switch is also used. Submitted by: bde | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 15 | -15/+15 | |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | |||||
* | Add RCS id's since these files have left the default branch. | steve | 1997-01-12 | 15 | -0/+27 | |
| | ||||||
* | This doesn't change any functionality, it simple makes yacc(1) | steve | 1997-01-12 | 13 | -78/+404 | |
| | | | | compile -Wall clean. | |||||
* | Revert the '-o output_file_name' option changes. | steve | 1997-01-12 | 2 | -22/+1 | |
| | ||||||
* | Merge Lite2 mods. | steve | 1997-01-06 | 1 | -9/+40 | |
| | ||||||
* | Implement and document a '-o output_file_name' option to | steve | 1997-01-06 | 2 | -1/+22 | |
| | | | | | | | allow the generated code to be written to a file other than the default, y.tab.c. Inspired by: bde and brian@mediacity.com | |||||
* | Add YYLEX and YYEMPTY macros to make byacc look more like bison. | hsu | 1996-11-04 | 1 | -1/+3 | |
| | | | | | Obtained from: Cygnus source tree, with permission. Original commit by Jim Wilson, wilson@cygnus.com. | |||||
* | Fix for PR# 1427, yacc-generated parser generates warnings | steve | 1996-09-22 | 1 | -15/+17 | |
| | | | | | | with -Wall. Tim's work with some minor additions by me. Submitted by: Tim Vanderhoek <hoek@freenet.hamilton.on.ca> | |||||
* | Fix -Wall warning in skeleton parser | peter | 1996-09-03 | 1 | -1/+1 | |
| | ||||||
* | Make the yacc skeleton aware of C++. It was previously broken in the | joerg | 1996-09-03 | 1 | -1/+12 | |
| | | | | YYDEBUG case (getenv() declared wrong). | |||||
* | Install yacc with a link as byacc (and the man page). Some gnu autoconf | peter | 1996-01-08 | 1 | -0/+2 | |
| | | | | | scripts that check for features/fixes in bison also check for byacc and dont find it unless there is a 'byacc' in the path. | |||||
* | Make all the tables "const" so that they don't clutter our data-segment. | phk | 1996-01-07 | 2 | -19/+19 | |
| | ||||||
* | Change `install' to `${INSTALL}' so that default install flags can be | bde | 1995-07-25 | 1 | -1/+1 | |
| | | | | specified in the top level Makefiles. | |||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 5 | -6/+6 | |
| | ||||||
* | Fix man extents from .0 to .1 | jkh | 1994-08-11 | 1 | -1/+1 | |
| | | | | Submitted by: jkh | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 29 | -0/+12526 | |