Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sort sections. | ru | 2005-01-18 | 1 | -4/+4 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -1/+2 |
| | |||||
* | Use getopt instead of hand-rolled argument parsing. Usage remains | wes | 2004-03-05 | 1 | -72/+15 |
| | | | | | | | | the same, no man page changes required. PR: bin/48313 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Reviewed by: joe@ | ||||
* | Add __unused to the declaration of yyrcsid in a more portable way. | davidc | 2003-02-12 | 1 | -1/+4 |
| | | | | Discussed with: alfred, bde, jmallett, obrien | ||||
* | Backout my previous commit as requested. This solution generates | davidc | 2003-02-08 | 1 | -2/+1 |
| | | | | parsers that are non-portable. | ||||
* | Add __unused to the declaration of yyrcsid. | davidc | 2003-02-07 | 1 | -1/+2 |
| | |||||
* | mdoc(7) police: back out unproved changes from previous revision. | ru | 2002-11-26 | 1 | -1/+1 |
| | | | | Approved by: re | ||||
* | Add section number to .Xr directive. | charnier | 2002-10-16 | 1 | -6/+6 |
| | |||||
* | Replace various spelling with FALLTHROUGH which is lint()able | charnier | 2002-08-25 | 1 | -2/+2 |
| | |||||
* | Use the constants from <limits.h> for the sizes of integral C types | robert | 2002-06-11 | 5 | -12/+10 |
| | | | | rather than defining them ourselves. | ||||
* | Note that this appeared at least as early as PWB UNIX. | jmallett | 2002-06-10 | 1 | -0/+4 |
| | | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it. | ||||
* | mdoc(7) police: tidy up the markup. | ru | 2002-05-30 | 1 | -13/+7 |
| | |||||
* | Restore some of the original variable names, but fix the warnings their | obrien | 2002-04-23 | 1 | -21/+19 |
| | | | | renaming addressed by removing the global variants instead. | ||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -4/+6 |
| | |||||
* | mdoc police: use .El to end the list in the ENVIRONMENT section. | fenner | 2002-04-17 | 1 | -0/+1 |
| | |||||
* | Quiet uninitialized warnings. | obrien | 2002-04-10 | 2 | -0/+2 |
| | |||||
* | No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1. | ru | 2002-04-09 | 12 | -24/+0 |
| | |||||
* | Revert the "tell the program name in diagnostics". What was I thinking?? | obrien | 2002-04-05 | 2 | -66/+58 |
| | | | | warnx() already does this for us. | ||||
* | Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD. | obrien | 2002-04-04 | 2 | -17/+18 |
| | |||||
* | Allow to compile errorlessly with GCC 3.1. | obrien | 2002-04-04 | 1 | -3/+1 |
| | |||||
* | Fix signal race. | obrien | 2002-04-04 | 1 | -4/+8 |
| | | | | | | | Use strlen() rather than magic number. Use _PATH_TMP. Obtained from: OpenBSD rev 1.13 (sig race) & rev 1.9 (strlen) | ||||
* | Revert revision 1.3. This is WARNS=4 clean w/o it and it only increases | obrien | 2002-04-04 | 1 | -1/+1 |
| | | | | the diffs to Open/NetBSD. | ||||
* | Fix style regression introduced in rev 1.11 during a WARNS cleanup. | obrien | 2002-04-04 | 1 | -1/+2 |
| | |||||
* | Add STANDARDS, ENVIRONMENT, and TABLES sections. | obrien | 2002-04-04 | 1 | -11/+39 |
| | | | | Obtained from: OpenBSD | ||||
* | Minor word smithing. | obrien | 2002-04-04 | 1 | -1/+1 |
| | |||||
* | Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics. | obrien | 2002-04-04 | 1 | -6/+6 |
| | |||||
* | Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics. | obrien | 2002-04-04 | 1 | -53/+59 |
| | |||||
* | remove __P | imp | 2002-03-22 | 12 | -178/+177 |
| | |||||
* | Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. | markm | 2002-02-08 | 1 | -1/+0 |
| | |||||
* | WARNS=2 fix, but do not set this im Makefile, because this ill be the | markm | 2001-12-11 | 2 | -2/+1 |
| | | | | default for src/usr.bin/ | ||||
* | Style improvements recommended by Bruce as a follow up to some | dwmalone | 2001-12-10 | 12 | -60/+72 |
| | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. | ||||
* | Only use __FBSDID if it is defined. This fixes the 4.4-release (but | imp | 2001-12-08 | 12 | -0/+24 |
| | | | | | | not stable) -> current upgrade path. Reviewed by: markm | ||||
* | Use __FBSDID(). | markm | 2001-12-02 | 12 | -42/+56 |
| | |||||
* | WARNS=2 and s/register//. | markm | 2001-12-01 | 14 | -416/+420 |
| | | | | | Set NO_WERROR=true because there are some flex(1) issues that need to be dealt with. | ||||
* | Properly static'ize increase_maxtable(). | obrien | 2001-10-05 | 1 | -1/+1 |
| | | | | Submitted by: db@db.net | ||||
* | Fix the output so it really does dynamically resize the table. | obrien | 2001-10-05 | 1 | -14/+44 |
| | | | | Submitted by: Diane Bruce <db@db.net> | ||||
* | Increase the table size by an order of magnitude. | obrien | 2001-10-05 | 1 | -1/+1 |
| | | | | | | | The previous version was too small and YACC core dumped on the during the hybrid-7 build. Submitted by: Diane Bruce <db@db.net> | ||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | beforeinstall -> SCRIPTS. | ru | 2001-04-07 | 1 | -6/+3 |
| | |||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | Have yacc use a prototype for yygrowstack(void) on ANSI compilers. | peter | 2001-02-19 | 1 | -0/+4 |
| | | | | This fixes a gcc warning with -Wmissing-prototypes. | ||||
* | Constify | kris | 2000-11-26 | 3 | -2/+2 |
| | |||||
* | Fix breakage introduced in rev.1.7. yystacksize and yysslim are global and | n_hibma | 2000-09-07 | 1 | -0/+4 |
| | | | | | | | should be prefixed by YYPREFIX as well. Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers are used in executable. | ||||
* | Fixed breakage of K&R support in rev.1.26. yyparse() was defined as | bde | 2000-01-17 | 1 | -7/+7 |
| | | | | | | `int yyparse(;) ; { ... }' in K&R mode. Getting rid of the second unwanted semicolon in this made the ifdef tangle more tangled than before. Fixed a backwards comment in the tangle. | ||||
* | Fixed breakage of K&R support in rev.1.8 of output.c: don't generate | bde | 2000-01-17 | 2 | -2/+5 |
| | | | | | #elif. Cleaned up rev.1.8 a bit more: generate the #include of <stdio.h> closer to the code that needs it. | ||||
* | malloc more space for temp file name | kris | 2000-01-10 | 1 | -1/+1 |
| | | | | Noticed by: marcel | ||||
* | Feed mkstemp() some more X's to keep it safe. | kris | 2000-01-10 | 2 | -5/+5 |
| | |||||
* | Make "YYPARSE_PARAM" and "YYPARSE_PARAM_TYPE" C++/ANSI-C clean. | obrien | 1999-10-28 | 1 | -4/+15 |
| | |||||
* | Allow a user specified parameter to 'yyparse()', in a manner similar to | obrien | 1999-10-27 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that used by bison. The names are consistent with the bison implementation but this one also allows the type of the parameter to be specified. For a desired prototype of: int yyparse __P((struct yyresult *)); and compile like this: yacc -dv grammar.y cc -c -DYYPARSE_PARAM_TYPE="struct yyresult *" \ -DYYPARSE_PARAM="parm" y.tab.c and use like this: ${ #include "usrtypes.h" #include "usrproto.h" }$ %token NUMBER %% goal : NUMBER { parm->value = yylval; } ; If YYPARSE_PARAM_TYPE isn't specified then "void *" is the default type. If YYPARSE_PARAM is not specified then the generated code behaves exactly as traditional byacc. PR: 13562 Submitted by: W Gerald Hicks <wghicks@bellsouth.net> | ||||
* | Emit YYERRCODE into y.tab.h to help `lex' report scanning errors back to | obrien | 1999-10-27 | 1 | -3/+9 |
| | | | | | | | Yacc. PR: 13562 Submitted by: W Gerald Hicks <wghicks@bellsouth.net> |