summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r288199,r288246:bdrewery2015-10-031-0/+2
| | | | Add missing CLEANFILES.
* MFC: r274460, r274475jkim2015-01-121-3/+4
| | | | Increase MAXTABLE to the maxmimum possible value and regen test cases.
* Merge: r269884rodrigc2014-10-112-43/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | Complete the usr.bin/yacc kyua integration work I originally submitted via r268811 - Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc - Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
* Merge: r258931rodrigc2014-10-111-2/+6
| | | | | | | | | Add missing bits from the vendor's 2005-05-04 change to contrib/byacc/makefile.in ("add YYPATCH here so it can be tested by applications") so that applications have a hope of detecting newer FreeBSD YACC output from an older one. Submitted by: Juniper Networks
* Merge: r268811rodrigc2014-10-1135-15076/+352
| | | | | | | Update to byacc 20140715 PR: 191020 Submitted by: gcooper (yaneurabeya@gmail.com)
* MFC: r257315, r260445, r264803bapt2014-07-201-4/+2
| | | | Update byacc to 20140422
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-2735-0/+15088
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
* Import byacc from invisible island, it brings us lots of compatibilities withbapt2012-05-2129-13032/+11
| | | | | | | | | | | | | bison, keeping full compatibility with our previous yacc implementation. Also bring the ability to create reentrant parser This fix bin/140309 [1] PR: bin/140309 [1] Submitted by: Philippe Pepiot <ksh@philpep.org> [1] Approved by: des (mentor) MFC after: 1 month
* Spelling fixes for usr.bin/uqs2011-12-302-2/+4
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-1116-64/+2
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Fix the build on 64-bit hosts. WARNS=6 fails on them.obrien2010-11-091-2/+2
|
* Back out r214961 for skeleton.c -- it broke the groff build.obrien2010-11-081-4/+4
|
* Add '-y' for bison compatibility.obrien2010-11-072-2/+10
| | | | Obtained from: http://invisible-island.net
* Inherit WARNS from parent directory.obrien2010-11-071-2/+0
| | | | Submitted by: marius
* Directly use memory allocation functions and remove needless casts inobrien2010-11-0711-140/+136
| | | | their usage. Also use associated modern types instead of k&r ones.
* Change to ANSI-C function definitions.obrien2010-11-0713-282/+182
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Let both yacc and lex generate code that passes -Wold-style-definition.ed2009-12-301-0/+4
| | | | | Both these tools emit code where several functions have no `void' keyword placed in the arugment list when the function has no arguments.
* remove external reference to not (or at least no longer) existing variable ↵rse2009-12-171-1/+0
| | | | 'myname'
* Setting a variable to the same value twice doesn't actually make itcperciva2008-08-041-2/+0
| | | | | | more likely to have the right value. Remove superfluous assignments. Found by: LLVM/Clang Static Checker
* Mark functions as __dead2 in order to help the LLVM static checkercperciva2008-08-041-24/+24
| | | | | | | understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer".
* Indent the else path, reduce diff against OpenBSD.delphij2008-07-181-1/+1
|
* Fix a longstanding bug, from Otto Moerbeck:kevlo2008-07-181-1/+5
| | | | | | | | | if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD
* Sort sections.ru2005-01-181-4/+4
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Use getopt instead of hand-rolled argument parsing. Usage remainswes2004-03-051-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.davidc2003-02-121-1/+4
| | | | Discussed with: alfred, bde, jmallett, obrien
* Backout my previous commit as requested. This solution generatesdavidc2003-02-081-2/+1
| | | | parsers that are non-portable.
* Add __unused to the declaration of yyrcsid.davidc2003-02-071-1/+2
|
* mdoc(7) police: back out unproved changes from previous revision.ru2002-11-261-1/+1
| | | | Approved by: re
* Add section number to .Xr directive.charnier2002-10-161-6/+6
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-2/+2
|
* Use the constants from <limits.h> for the sizes of integral C typesrobert2002-06-115-12/+10
| | | | rather than defining them ourselves.
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-0/+4
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* mdoc(7) police: tidy up the markup.ru2002-05-301-13/+7
|
* Restore some of the original variable names, but fix the warnings theirobrien2002-04-231-21/+19
| | | | renaming addressed by removing the global variants instead.
* Use `The .Nm utility'charnier2002-04-201-4/+6
|
* mdoc police: use .El to end the list in the ENVIRONMENT section.fenner2002-04-171-0/+1
|
* Quiet uninitialized warnings.obrien2002-04-102-0/+2
|
* No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.ru2002-04-0912-24/+0
|
* Revert the "tell the program name in diagnostics". What was I thinking??obrien2002-04-052-66/+58
| | | | warnx() already does this for us.
* Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD.obrien2002-04-042-17/+18
|
* Allow to compile errorlessly with GCC 3.1.obrien2002-04-041-3/+1
|
* Fix signal race.obrien2002-04-041-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 increasesobrien2002-04-041-1/+1
| | | | the diffs to Open/NetBSD.
* Fix style regression introduced in rev 1.11 during a WARNS cleanup.obrien2002-04-041-1/+2
|
* Add STANDARDS, ENVIRONMENT, and TABLES sections.obrien2002-04-041-11/+39
| | | | Obtained from: OpenBSD
* Minor word smithing.obrien2002-04-041-1/+1
|
* Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics.obrien2002-04-041-6/+6
|
* Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics.obrien2002-04-041-53/+59
|
OpenPOWER on IntegriCloud